GetVehicleForwardVector: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetVehicleForwardVector(vehicle)}} {{FuncParameters}} {{FuncParam|vehicle|__EDIT_ME__}} {{FuncRet..."
 
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Gets the normalized forward vector.}}


{{FuncSyntax|GetVehicleForwardVector(vehicle)}}
{{FuncSyntax|GetVehicleForwardVector(vehicle)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|vehicle|__EDIT_ME__}}
{{FuncParam|vehicle|The vehicle identifier.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns 3 float values, X, Y and Z}}


== Example ==
== Example ==

Latest revision as of 10:41, 1 September 2020

GetVehicleForwardVector

Type: Function
Context: Client
Introduced: v1.0

Description

Gets the normalized forward vector.

Syntax

GetVehicleForwardVector(vehicle)

Parameters

  • vehicle
    The vehicle identifier.

Return Value

  • Returns 3 float values, X, Y and Z

Example

__EDIT_ME__

See also

__EDIT_ME__