Skip to content

GetHorseType

A horse’s type.

GetHorseType(id)
Parameter Type
id number the horse

string - the type ("riding" when it was given none); nil for anything but a horse

if GetHorseType(horse) ~= "draft" then SendClientMessage(pid, COLOR_RED, "That horse will tire fast in front of a cart.") end

SetHorseType · the Horses group of the index