SA-MP Forums Archive
Global vehicle health? - 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: Global vehicle health? (/showthread.php?tid=199694)



Global vehicle health? - Face9000 - 16.12.2010

Hi,it's possibile to set at ALL vehicles,the default HP of 800 instead of 1000?


Re: Global vehicle health? - JamesC - 16.12.2010

pawn Код:
public OnVehicleSpawn(vehicleid)
{
    SetVehicleHealth( vehicleid, 800.0 );
    return 1;
}