Skip to content

GetCartRoute

The route a cart drives.

GetCartRoute(id)
Parameter Type
id number the cart

string - the route’s name; nil for a free cart

if GetCartRoute(id) then SendClientMessage(pid, COLOR_WHITE, "This one keeps to " .. GetCartRoute(id) .. ".") end

SetCartRoute · the Carts group of the index