SetVehicleLightEnabled: Difference between revisions

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


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|This function toggles the vehicle's lights.}}


{{FuncSyntax|SetVehicleLightEnabled(vehicle, enabled)}}
{{FuncSyntax|SetVehicleLightEnabled(vehicle, enabled)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|vehicle|__EDIT_ME__}}
{{FuncParam|vehicle|The vehicle identifier.}}
{{FuncParam|enabled|__EDIT_ME__}}
{{FuncParam|enabled|The boolean status}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns '''?'''.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
SetVehicleLightEnabled(vehicleId, true)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:VehicleFunctions}}

Revision as of 07:33, 13 December 2019