SET_VEHICLE_HAS_UNBREAKABLE_LIGHTS
0x1AA8A837D2169D94
0x009AB49E
// SetVehicleHasUnbreakableLights
void SET_VEHICLE_HAS_UNBREAKABLE_LIGHTS(Vehicle vehicle, BOOL toggle);
Sets whether the vehicle's lights can be broken.
NativeDB Introduced: v323
Old name: _SET_VEHICLE_LIGHTS_CAN_BE_VISIBLY_DAMAGED
Examples:
local vehicle = GetVehiclePedIsIn(PlayerPedId(), false)
if not vehicle then return end
-- Make the vehicle's lights unbreakable
SetVehicleHasUnbreakableLights(vehicle, true)