GetCartRoute
The route a cart drives.
Syntax
Section titled “Syntax”GetCartRoute(id)| Parameter | Type | |
|---|---|---|
id |
number | the cart |
Returns
Section titled “Returns”string - the route’s name; nil for a free cart
Example
Section titled “Example”if GetCartRoute(id) then SendClientMessage(pid, COLOR_WHITE, "This one keeps to " .. GetCartRoute(id) .. ".") endSee also
Section titled “See also”SetCartRoute · the Carts group of the index
