IsPlayerInPullDown
Whether the player is pulling a rider down or being pulled off a horse right now.
true from the start of a pull-down for both players - the one pulling and the rider - until a couple of seconds after the
game’s pair ends: the span in which the server lets both bodies move as the pair moves them. false otherwise.
Syntax
Section titled “Syntax”IsPlayerInPullDown(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if IsPlayerInPullDown(pid) then return false end -- no commands in the middle of a fallSee also
Section titled “See also”OnPlayerPulledDown · PullPlayerFromHorse · IsPlayerThrown · the Horses group of the index
