SA-MP Forums Archive
Question. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question. (/showthread.php?tid=273747)



Question. - Alex_Obando - 03.08.2011

Hello how Is this possible:

Set the tank's health to 7000 HP which can survive to certain bombs / missiles.

Yes? How to do it?


Re: Question. - Famalamalam - 03.08.2011

Under OnVehicleSpawn:

pawn Код:
if(GetVehicleModel(vehicleid) == 433)
{
    SetVehicleHealth(vehicleid, 7000);
}