IsCartSeatLocked
Whether a seat of a cart is locked.
Syntax
Section titled “Syntax”IsCartSeatLocked(id, seat)| Parameter | Type | |
|---|---|---|
id |
number | the cart |
seat |
number | the seat (0 = at the reins) |
Returns
Section titled “Returns”boolean - true when SetCartSeatLocked locked it
Example
Section titled “Example”if IsCartSeatLocked(id, 0) then SendClientMessage(pid, COLOR_WHITE, "This cart's reins are spoken for.") endSee also
Section titled “See also”SetCartSeatLocked · the Carts group of the index
