Entity::setLights: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
*'''Undefined'''
*'''Undefined'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
  player.vehicle.setLights(0); // Turn off lights
</syntaxhighlight>


==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:02, 1 May 2024

Syntax

entity.setLights(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

See also