GetVehicleForwardSpeed: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetVehicleForwardSpeed(vehicle)}} {{FuncParameters}} {{FuncParam|vehicle|__EDIT_ME__}} {{FuncRetu..."
 
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Returns the vehicle's forward moving speed. Negative when the vehicle is moving backwards.}}


{{FuncSyntax|GetVehicleForwardSpeed(vehicle)}}
{{FuncSyntax|GetVehicleForwardSpeed(vehicle)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|vehicle|__EDIT_ME__}}
{{FuncParam|vehicle|The vehicle id}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''positive''' value if the vehicle is moving forward, otherwise '''negative'''.}}


== Example ==
== Example ==

Revision as of 14:32, 10 November 2019

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__