Skip to content

SetCartSpeed

One cart’s own pace - a route cart’s travelling speed, or the most a player may drive it at.

The speed in m/s (at most 15); 0 gives it back to its route’s or the server’s.

SetCartSpeed(id, speed)
Parameter Type
id number the cart
speed number m/s; 0 = the route’s or the server’s

boolean

SetCartSpeed(id, 3.5) -- a trot: the old mare pulls the mail cart

HoldCart · CreateCart · the Carts group of the index