SA-MP Forums Archive
Need Help About 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: Need Help About Health (/showthread.php?tid=174297)



Need Help About Health - xinix000 - 05.09.2010

How can i make when player have hp more than 250 it will set hp to 10


Re: Need Help About Health - mrcoolballs - 05.09.2010

pawn Код:
if(GetPlayerHealth(playerid) >= 250) return SetPlayerHealth(playerid,10);
i think it should work but i havent tested it