IsPlayerThrown
Whether the player is in the fall of a rider thrown off their horse.
true from the throw (OnPlayerThrown) for the few seconds the fall, the lying still and the get-up take - the span in
which the server lets their body move faster than a walker may - and false otherwise, on foot or in the saddle.
Syntax
Section titled “Syntax”IsPlayerThrown(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if IsPlayerThrown(pid) then return false end -- no commands from the groundSee also
Section titled “See also”OnPlayerThrown · ThrowPlayerFromHorse · the Horses group of the index
