Vehicle::setNeonLightEnabled: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by the same user not shown)
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
{{Incomplete Functions}}
 
== Description ==
Sets the neon lights of the specified vehicle on/off.<br><br>Indices:
 
*0 = Left
*1 = Right
*2 = Front
*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===
 
*'''Undefined'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
Line 14: Line 22:
{{Vehicle_function_c}}
{{Vehicle_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]

Latest revision as of 19:02, 29 September 2017

This page is Incomplete.

Description

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

Example

// todo

See also