Vehicle Health
#2

Use this function.

pawn Код:
SetVehicleHealth(vehicleid, Float:health);
So for example; if you have something like this under OnGameModeInit().
pawn Код:
LSPDCar[0] = CreateVehicle(relevant data);
You can set that vehicle's health to 10000 if you do this;
pawn Код:
SetVehicleHealth(LSPDCar[0], 10000);
Reply


Messages In This Thread
Vehicle Health - by Drago987 - 15.09.2013, 22:00
Re: Vehicle Health - by EiresJason - 15.09.2013, 22:17
Re: Vehicle Health - by Drago987 - 15.09.2013, 23:18
Re: Vehicle Health - by Eyce - 15.09.2013, 23:21
Re: Vehicle Health - by Scrillex - 15.09.2013, 23:23
Re: Vehicle Health - by Drago987 - 16.09.2013, 18:51

Forum Jump:


Users browsing this thread: 1 Guest(s)