Saving Vehicle Health
#1

Howdy ya'll,

Does anyone know if you are able to make it so a vehicle's health will save into a file, and then the next time it spawns/respawns, it will spawn with that amount of health?

Thanks! - Krakuski
Reply
#2

Yes you are able to.

Use the SetVehicleHealth and GetVehicleHealth function.

https://sampwiki.blast.hk/wiki/SetVehicleHealth

https://sampwiki.blast.hk/wiki/GetVehicleHealth
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)