GetVehicleForwardSpeed

From Onset Developer Wiki
Revision as of 14:32, 10 November 2019 by 28days (talk | contribs)
GetVehicleForwardSpeed

Type: Function
Context: Client
Introduced: v1.0

Description

Returns the vehicle's forward moving speed. Negative when the vehicle is moving backwards.

Syntax

GetVehicleForwardSpeed(vehicle)

Parameters

  • vehicle
    The vehicle id

Return Value

  • Returns positive value if the vehicle is moving forward, otherwise negative.

Example

__EDIT_ME__

See also

__EDIT_ME__