SA-MP Forums Archive
Vehicle Damage - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle Damage (/showthread.php?tid=613584)



Vehicle Damage - AlexPalermitano97 - 29.07.2016

How do I save the damage of a vehicle so when I go into the meeting server my vehicle with damage?


Re: Vehicle Damage - SoLetsGO - 29.07.2016

You can use a saving system (dini, msql, y-ini) to save the status of the vehicle (GetVehicleHealth).
When you reconnect it loads the vehicle and the vehicle's "Health/Damage" (SetVehicleHealth(savedHealth)


Re: Vehicle Damage - AlexPalermitano97 - 29.07.2016

Thank's