Native fillhp? - 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: Native fillhp? (
/showthread.php?tid=467410)
Native fillhp? -
Pawnie - 02.10.2013
So I am fooling around with natives but this one wont work. How do I fix it?
pawn Код:
native FillHP(playerid, Float:Health+100);
Re: Native fillhp? -
Pawnie - 02.10.2013
I wanted to ask how do I do this. How to make something that will set the value to 100 right away
Re: Native fillhp? -
DanishHaq - 02.10.2013
Why use a new native that won't work anyway without a proper functioning include file with callbacks and hooks whilst you can just use SetPlayerHealth(playerid, 100);?
Re: Native fillhp? -
SuperViper - 03.10.2013
pawn Код:
FillHP(playerid)
{
SetPlayerHealth(playerid, 100);
}
This is how you make a function.