Skip to content

GetHorseOwner

Whose horse it is.

GetHorseOwner(id)
Parameter Type
id number the horse

number - the owner’s player id; nil = nobody’s

if GetHorseOwner(horse) ~= pid then SendClientMessage(pid, COLOR_RED, "Not your horse.") end

SetHorseOwner · GetPlayerHorses · the Horses group of the index