Skip to content

GetHorseLoad

What lies across a horse.

GetHorseLoad(horseId)
Parameter Type
horseId number the horse’s entity id

string, number - the kind - "player", "corpse" or "actor" - and the id (a player’s id, or the entity id); nil when nothing does

local kind, id = GetHorseLoad(horse)
if kind == "player" then SendClientMessage(pid, COLOR_SERVER, GetPlayerName(id) .. " lies across that horse.") end

GetPlayerLoadHorse · GetEntityLoadHorse · LoadPlayerOnHorse · the Carrying group of the index