Posts: 96
Threads: 47
Joined: Oct 2012
Reputation:
0
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
Posts: 53
Threads: 11
Joined: Feb 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
Posts: 96
Threads: 47
Joined: Oct 2012
Reputation:
0
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
Posts: 53
Threads: 11
Joined: Feb 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