openmultiplayer / omp-stdlib

Pawn includes
Mozilla Public License 2.0
42 stars 16 forks source link

CARLIGHT_REAR_BROKEN equals to 1024? #9

Closed Mergevos closed 1 year ago

Mergevos commented 1 year ago

Whenever I set aforementioned one with UpdateVehicleDamageStatus, nothing happens, but when I use 64 instead it works correctly, and back lights shuts.

UpdateVehicleDamageStatus(GetPlayerVehicleID(playerid), VEHICLE_PANEL_STATUS: 0, VEHICLE_DOOR_STATUS: 0, CARLIGHT_REAR_BROKEN, VEHICLE_TYRE_STATUS: 0);

WoutProvost commented 1 year ago

Yes, it should be 64, as is documented here: https://team.sa-mp.com/wiki/Light_States.html