GetHorseLoad
What lies across a horse.
Syntax
Section titled “Syntax”GetHorseLoad(horseId)| Parameter | Type | |
|---|---|---|
horseId |
number | the horse’s entity id |
Returns
Section titled “Returns”string, number - the kind - "player", "corpse" or "actor" - and the id (a player’s id, or the entity id); nil when nothing does
Example
Section titled “Example”local kind, id = GetHorseLoad(horse)if kind == "player" then SendClientMessage(pid, COLOR_SERVER, GetPlayerName(id) .. " lies across that horse.") endSee also
Section titled “See also”GetPlayerLoadHorse · GetEntityLoadHorse · LoadPlayerOnHorse · the Carrying group of the index
