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..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{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| | {{FuncParam|vehicle|The vehicle id}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''positive''' value if the vehicle is moving forward, otherwise '''negative'''.}} | ||
== Example == | == Example == |
Revision as of 14:32, 10 November 2019
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__