GetHorseGear
What a horse wears - its saddle, bridle, saddlebags and caparison.
The item classes (GUIDs) of the gear, as the game of the player who holds the horse’s bags (the owner, else the rider, else
the one who simulates it) last reported it, or as SetHorseGear made it. A horse fresh from CreateHorse wears the game’s
default outfit for its breed until that player’s game reports it.
Syntax
Section titled “Syntax”GetHorseGear(id)| Parameter | Type | |
|---|---|---|
id |
number | the horse |
Returns
Section titled “Returns”table - a list of item class GUIDs ({} = nothing); nil when it is not a horse
Example
Section titled “Example”for _, class in ipairs(GetHorseGear(horse) or {}) do local info = GetItemInfo(class) SendClientMessage(pid, COLOR_WHITE, info and info.display or class)endSee also
Section titled “See also”SetHorseGear · GetHorseItems · the Horses group of the index
