Burgershot
[Pawn] UpdateVehicleDamageStatus - Printable Version

+- Burgershot (https://www.burgershot.gg)
+-- Forum: SA-MP (https://www.burgershot.gg/forumdisplay.php?fid=3)
+--- Forum: Pawn Scripting (https://www.burgershot.gg/forumdisplay.php?fid=10)
+--- Thread: [Pawn] UpdateVehicleDamageStatus (/showthread.php?tid=2229)



UpdateVehicleDamageStatus - JR_Junior - 2021-10-10

Hello, I am creating an armor system for the vehicle.
I am using a timer to repair the vehicle all the time and have noticed that 4 door vehicles sometimes the rear doors are not fixed until the vehicle is damaged again.

I did a test with a friend and the damaged door only appears to me.
Was it a bug or a sync error?


This is how I see it:
[Image: Screenshot-27.png]

This is how my friend sees it:
[Image: Screenshot-28.png]


RE: UpdateVehicleDamageStatus - JR_Junior - 2021-10-23

FIXED!
I was using UpdateVehicleDamageStatus to repair the vehicle.

Using RepairVehicle(vehicleid); this bug does not happen!