SA-MP Forums Archive
Vehicle damage status - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Vehicle damage status (/showthread.php?tid=510791)



Vehicle damage status - KubiPL - 02.05.2014

While setting panels state to 0 in UpdateVehicleDamageStatus and if vehicle have damaged bumpers or windshield, this isn't occur on visual status - only in script. Additionally, when You apply visual update by script (for e.g. bumper) and vehicle got damaged in set part, the decoded status of bumpers are greater than 3.

Код:
UpdateVehicleDamageStatus(vehicleid,0,doors,lights,tires);
This code won't fix vehicle panel status.