Do you have to RepairVehicle AND SetVehicleHealth? - 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: Do you have to RepairVehicle AND SetVehicleHealth? (
/showthread.php?tid=406332)
Do you have to RepairVehicle AND SetVehicleHealth? -
InActtive™ - 09.01.2013
Solved
Just wondering, do you have to use RepairVehicle AND SetVehicleHealth on a /fixveh command?
I'm creating a /fixveh, for body and health repairs... But on the wiki, RepairVehicle is defined as Repairs the visual damage (bumps, dents, scratches, wheels and the actual health) of a vehicle. "and the actual health". Does it set the health back to normal in that case? So I don't have to use SetVehicleHealth?
Re: Do you have to RepairVehicle AND SetVehicleHealth? -
JustinAn - 09.01.2013
No, you don't have to use RepairVehicle and SetVehicleHealth.
EDIT: If I'm wrong, I apologize. Then you have to use both functions.
Re: Do you have to RepairVehicle AND SetVehicleHealth? -
InActtive™ - 09.01.2013
Aight thanks. That's all ^_^