AttachPlayerParachute

From Onset Developer Wiki
Revision as of 12:42, 28 May 2021 by FlyingFork (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
AttachPlayerParachute

Type: Function
Context: Server
Introduced: v1.0

Description

Attach the specified player a parachute.

Syntax

AttachPlayerParachute(player, bAttach)

Parameters

  • player
    The player identifier.
  • bAttach
    The boolean status.

Return Value

  • This function returns true on success.

Example

AddCommand("parachute", function(player)
    AttachPlayerParachute(player, true)
end)

See also