VEHICLE

GET_VEHICLE_XENON_LIGHT_COLOR_INDEX

0x3DFF319A831E0CDB

Signature

// VEHICLE
int GET_VEHICLE_XENON_LIGHT_COLOR_INDEX(Vehicle vehicle)

Parameters

Type Name
Vehicle vehicle

Return type int

Build 1604

Former names

  • _GET_VEHICLE_HEADLIGHTS_COLOUR
  • _GET_VEHICLE_XENON_LIGHTS_COLOUR
  • _GET_VEHICLE_XENON_LIGHTS_COLOR

Documentation

Returns the headlight color index from the vehicle. Value between 0, 12. Use _SET_VEHICLE_HEADLIGHTS_COLOUR to set the headlights color for the vehicle. Must enable xenon headlights before it'll take affect. Returns an int, value between 0-12 or 255 if no color is set.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.