SetVehicleHeading: Difference between revisions

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


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Set's the vehicle heading (rotation).}}


{{FuncSyntax|SetVehicleHeading(vehicle, h)}}
{{FuncSyntax|SetVehicleHeading(vehicle, h)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|vehicle|__EDIT_ME__}}
{{FuncParam|vehicle|The vehicle identifier}}
{{FuncParam|h|__EDIT_ME__}}
{{FuncParam|h|The heading in float}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns '''true''' on success.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
SetVehicleHeading(vehicle, 90.0)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{VehicleFunctions}}

Latest revision as of 17:12, 16 January 2020