Vehicle::getNeonLightsColour

From RAGE Multiplayer Wiki
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