Skip to content

GetCartRoutes

Every route - from the file, the admins’ /cartroute and the mode’s own.

GetCartRoutes()

table - a list of routes as AddCartRoute takes them (with every point’s z filled in; parts the slots the route names)

for _, route in ipairs(GetCartRoutes()) do
Log(string.format("%s: %d points, %d stops, %s", route.name, #route.points, #route.stops, route.mode))
end

AddCartRoute · GetCartRoute · the Carts group of the index