SA-MP Forums Archive
/healme - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: /healme (/showthread.php?tid=494939)



/healme - AwokenNeoX - 15.02.2014

I need a little code for my script.

If the player type /healme he gets 100% health. Now I need this code: If the player have full health then sendclient message your health is full


Re: /healme - GamemodeRP123 - 15.02.2014

Is it an RP server or DM ones's?

If it is RP the player has to buy first aid kit or sprunks.

and if its DM,

CreatePickup();// /healme//Old Healme:

CreateDynamic3DTextLabel("/healme \nTo cure your disease",COLOR_DBLUE,);// /healme or whatever TEXT

Im not good at script but tried to help.

__________________________________________________ __
If i helped you just press "+rep" for me


AW: /healme - AwokenNeoX - 15.02.2014

Its a DM server. I create a command if the player type /healme he gets 100% hp and lost 5000 dollers. But if the player have already 100% health and type /healme he lost 5000 Doller. I need a code if the player have already 100% hp he cant use this command


Re: /healme - GamemodeRP123 - 15.02.2014

CreateDynamic3DTextLabel("/healme \nYou cant use this command anymore!",COLOR_DBLUE,);// /healme

Sendplayermessage(playerid,You already have enough health)
Disableplayercommand(/healme,playerid \Player already use it);

Try this
__________________________________________________ ____________
If i help yyou just press +rep button