Vehicle::getNeonLightsColour

From RAGE Multiplayer Wiki
Revision as of 04:38, 27 February 2019 by Kar (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Syntax

vehicle.getNeonLightsColour(r, g, b);

Required Arguments

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

Return value

  • object: r, g, b

Example

let obj = mp.players.local.vehicle.getNeonLightsColour(1, 1, 1);
mp.gui.chat.push(`${obj.r} ${obj.g} ${obj.b}`);

See also