Entity::setLights: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
// todo
  player.vehicle.setLights(0); // Turn off lights
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 16:17, 1 August 2019

Syntax

entity.setLights(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

  player.vehicle.setLights(0); // Turn off lights

See also