Vehicle::setNeonLightEnabled: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
Line 1: Line 1:
Sets the neon lights of the specified vehicle on/off.<br><br>Indices:<br>0 = Left<br>1 = Right<br>2 = Front<br>3 = Back
Sets the neon lights of the specified vehicle on/off.<br><br>Indices:<br>*0 = Left<br>*1 = Right<br>*2 = Front<br>*3 = Back
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.setNeonLightEnabled(index, toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">vehicle.setNeonLightEnabled(index, toggle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''index:''' int
*'''index:''' int (indice)
*'''toggle:''' Boolean
*'''toggle:''' Boolean
===Return value===
===Return value===

Revision as of 19:01, 29 September 2017

Sets the neon lights of the specified vehicle on/off.

Indices:
*0 = Left
*1 = Right
*2 = Front
*3 = Back

Syntax

vehicle.setNeonLightEnabled(index, toggle);

Required Arguments

  • index: int (indice)
  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also