/healme
#1

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
Reply
#2

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
Reply
#3

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
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)