Skip to content

GetHorseCart

The cart a horse is hitched to, and its slot.

GetHorseCart(horse)
Parameter Type
horse number the horse

number, number - the cart and the slot, or nil

local cart, slot = GetHorseCart(horse)
if cart then SendClientMessage(pid, COLOR_WHITE, "Your horse pulls a cart.") end

HitchHorse · GetCartHorse · the Carts group of the index