medics
#1

Код:
if (strcmp("/medkit", cmdtext, true, 10) == 0)
	
	if(GetPlayerTeam(playerid) == TEAM_RIFAMEDIC)
	{
		SendClientMessage(playerid, 0xFFAE1CFF, "You have healed yourself");
		SetPlayerHealth(playerid, 100);
	}
	else
 	{
	SendClientMessage(playerid, 0xFFAE1CFF, "You are not a medic");
	}
How do I make it so once the person has used this cmd they will have to wait another 2 minutes to be able to use it sorry I have no clue
Reply


Messages In This Thread
[Solved ty]medics - by muhib777 - 23.07.2011, 23:52
Re: medics - by Cro_Haxor - 24.07.2011, 01:23
Re: medics - by muhib777 - 24.07.2011, 08:49
Re: medics - by MoroDan - 24.07.2011, 09:10
Re: medics - by MadeMan - 24.07.2011, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)