Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.30

Description

Description:Returns the maximum speed limit for a vehicle, as set by setMaxSpeedLimit.

Note: The value is independent from the maxSpeed configuration property.

Syntax

Syntax:getMaxSpeedLimit vehicle
Parameters:
  • vehicle: Object - Vehicle to check.
Return Value:Number - Speed limit. If no limit is set, returns 1 e006.

Examples

Examples:
_limit = getMaxSpeedLimit tank1

Additional Information

See also: setMaxSpeedLimit
Multiplayer: 
Problems: 

Notes