Skip to content

IsCartSeatLocked

Whether a seat of a cart is locked.

IsCartSeatLocked(id, seat)
Parameter Type
id number the cart
seat number the seat (0 = at the reins)

boolean - true when SetCartSeatLocked locked it

if IsCartSeatLocked(id, 0) then SendClientMessage(pid, COLOR_WHITE, "This cart's reins are spoken for.") end

SetCartSeatLocked · the Carts group of the index