GetCartPassengers
The players in a cart, the one at the reins first.
Syntax
Section titled “Syntax”GetCartPassengers(id)| Parameter | Type | |
|---|---|---|
id |
number | the cart |
Returns
Section titled “Returns”table - a list of player ids ({} = empty)
Example
Section titled “Example”Log("cart " .. id .. " carries " .. #GetCartPassengers(id) .. " players")See also
Section titled “See also”GetPlayerCart · GetCartSeatPlayer · OnCartStop · the Carts group of the index
