Skip to main content

IS_VEHICLE_LIGHT_ENABLED

Game.IsVehicleLightEnabledHash0xFADB2E6A
Usage
local isVehicleLightEnabled = Game.IsVehicleLightEnabled(carIndex, light)

Returns false if the light was hidden with SET_VEHICLE_LIGHT_ENABLED on this client, otherwise true. Damage is not taken into account. See SET_VEHICLE_LIGHT_ENABLED for the light numbers.

Parameters

  • carIndexintegerint
  • lightintegerint

Returns

  • isVehicleLightEnabledbooleanreturn value
Original declaration
// 0xFADB2E6A
bool IS_VEHICLE_LIGHT_ENABLED(int carIndex, int light);