GetHorseCart
The cart a horse is hitched to, and its slot.
Syntax
Section titled “Syntax”GetHorseCart(horse)| Parameter | Type | |
|---|---|---|
horse |
number | the horse |
Returns
Section titled “Returns”number, number - the cart and the slot, or nil
Example
Section titled “Example”local cart, slot = GetHorseCart(horse)if cart then SendClientMessage(pid, COLOR_WHITE, "Your horse pulls a cart.") endSee also
Section titled “See also”HitchHorse · GetCartHorse · the Carts group of the index
