Vehicle::getNeonLightsColour: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
m (vehicle.getNeonLightsColour(r, g, b); changed to vehicle.getNeonLightsColor(r, g, b); REASON: Error in console because its called Color not Colour)
Line 1: Line 1:
Gets the color of the neon lights of the specified vehicle.<br><br>See _SET_VEHICLE_NEON_LIGHTS_COLOUR (0x8E0A582209A62695) for more information
Gets the color of the neon lights of the specified vehicle.<br><br>See _SET_VEHICLE_NEON_LIGHTS_COLOUR (0x8E0A582209A62695) for more information
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.getNeonLightsColour(r, g, b);</syntaxhighlight>
<syntaxhighlight lang="javascript">vehicle.getNeonLightsColor(r, g, b); //EDITED because of spelling mistake. it's called color not colour! </syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''r:''' int
*'''r:''' int

Revision as of 19:19, 4 February 2019

Gets the color of the neon lights of the specified vehicle.

See _SET_VEHICLE_NEON_LIGHTS_COLOUR (0x8E0A582209A62695) for more information

Syntax

vehicle.getNeonLightsColor(r, g, b); //EDITED because of spelling mistake. it's called color not colour!

Required Arguments

  • r: int
  • g: int
  • b: int

Return value

  • object: r, g, b

Example

// todo

See also