Equip command with timer
#4

made somethins like this but still dont works

Код:
	if(strcmp(cmdtext, "/gang1equip", true) == 0)
	{
 		if(gTeam[playerid] == 8)
	    {
                if(IsPlayerInRangeOfPoint(playerid,2.0, 948.4193,-2159.3289,14.5618))
	        	{
					new iLastHealed[MAX_PLAYERS];
					new iCount = GetTickCount();
			        if((iCount - iLastHealed[playerid]) > 50000)
            		{
					//ResetPlayerWeapons(playerid);
					GivePlayerWeapon(playerid, 24, 50); // deagle
 					GivePlayerWeapon(playerid, 30, 500); // ak47
          			iLastHealed[playerid] = iCount;
					GameTextForPlayer(playerid,"~r~!", 5000, 1);
				}
			}
				else
				{
				    SendClientMessage(playerid, COLOR_GREY," !");
				}
		}
		else
		{
		    SendClientMessage(playerid, COLOR_RED,"* !");
		}
		return 1;
	}
Reply


Messages In This Thread
Equip command with timer - by Jimbo01 - 02.03.2011, 11:18
Re: Equip command with timer - by Sasino97 - 02.03.2011, 11:45
Re: Equip command with timer - by Jimbo01 - 02.03.2011, 12:27
Re: Equip command with timer - by Jimbo01 - 02.03.2011, 14:36
Re: Equip command with timer - by JaTochNietDan - 02.03.2011, 14:46
Re: Equip command with timer - by Sasino97 - 02.03.2011, 14:50
Re: Equip command with timer - by JaTochNietDan - 02.03.2011, 14:52
Re: Equip command with timer - by Sasino97 - 02.03.2011, 14:58
Re: Equip command with timer - by JaTochNietDan - 02.03.2011, 15:00
Re: Equip command with timer - by Jimbo01 - 02.03.2011, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)