[HELP] /aheal command !
#2

try this
Код:
	if(strcmp("/aheal", cmdtext, true, 10) == 0) 
	{
			        if(IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdmin] >= 101)
		{
			GetPlayerName(playerid, sendername, sizeof(sendername));
		{
				SetPlayerHealth(playerid,100);
				SetPlayerArmour(playerid,100);
			}
			}
			else
			{
			    SendClientMessage(playerid, COLOR_GREY, "   You are not authorized to use that command !");
			}
		return 1;
		}
I never tested it xD but it should work
Reply


Messages In This Thread
[HELP] /aheal command ! - by [Aka]Dragonu - 03.12.2010, 20:21
Re: [HELP] /aheal command ! - by gychem - 03.12.2010, 20:23
Re: [HELP] /aheal command ! - by [Aka]Dragonu - 03.12.2010, 20:27
Re: [HELP] /aheal command ! - by gychem - 03.12.2010, 20:40
Re: [HELP] /aheal command ! - by [Aka]Dragonu - 03.12.2010, 20:52
Re: [HELP] /aheal command ! - by [Aka]Dragonu - 04.12.2010, 07:02
Re: [HELP] /aheal command ! - by Ash. - 04.12.2010, 07:08
Re: [HELP] /aheal command ! - by [Aka]Dragonu - 04.12.2010, 07:46
Re: [HELP] /aheal command ! - by fangoth1 - 04.12.2010, 10:12
Re: [HELP] /aheal command ! - by fangoth1 - 04.12.2010, 10:25

Forum Jump:


Users browsing this thread: 2 Guest(s)