Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



 

Introduced in

Version:1.00

Description

Description:Limits the speed of the given vehicle or person to the given value (in km/h).

Syntax

Syntax:object limitSpeed speed
Parameters:
  • object: Object - Object, whose speed needs to change.
  • speed: Number - New object speed (in km/h).
Return Value:Nothing

Examples

Examples:

Additional Information

See also: setMaxSpeedLimit, forceSpeed, setSpeedMode
Multiplayer: 
Problems:

Notes







Posted on 9 February 2008
Kronzky
Has only an temporary effect on the vehicle specified (i.e. vehicle goes back to its previous speed right away). So, in order for this command to have a real, noticeable effect, it would have to be issued continuously (e.g. via a script loop). (V1.08.5163)