GetPlayerLoadHorse
The horse a player lies across.
Syntax
Section titled “Syntax”GetPlayerLoadHorse(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”number - the horse’s entity id; nil when the player lies across none
Example
Section titled “Example”local horse = GetPlayerLoadHorse(pid)if horse then return false end -- no teleport while across a horseSee also
Section titled “See also”GetHorseLoad · GetEntityLoadHorse · IsPlayerCarried · the Carrying group of the index
