GetHorseTypeRule
What a horse type pulls and its pace under a rider.
Syntax
Section titled “Syntax”GetHorseTypeRule(type)| Parameter | Type | |
|---|---|---|
type |
string | the type’s name |
Returns
Section titled “Returns”table - {name =, pull =, ride =}; nil for no such type
Example
Section titled “Example”local mule = GetHorseTypeRule("mule")SendClientMessage(pid, COLOR_WHITE, string.format("A mule pulls %d kg.", mule.pull))See also
Section titled “See also”SetHorseTypeRule · GetHorseTypes · the Horses group of the index
