GetHorseGear
What a horse wears - its saddle, bridle, saddlebags and caparison.
The item classes (GUIDs) of the gear, as the owner’s game last reported it (the controller’s, for a horse nobody owns) or
as SetHorseGear made it. A horse fresh from CreateHorse wears the game’s default outfit for its breed until the
owner’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
