/airstrike
#2

Код:
new KillStreak[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid, reason)
{
	if(IsPlayerConnected(killerid))
	{
	  KillStreak[killerid]++;
	  KillStreak[playerid] = 0;
	}
return 1;
}
And then on your /airstrike command just check if(KillStreak[playerid] == 5) or if(KillStreak[playerid] => 5)
Reply


Messages In This Thread
/airstrike - by 02manchestera - 12.03.2010, 17:04
Re: /airstrike - by gotenks918 - 12.03.2010, 17:16
Re: /airstrike - by 02manchestera - 12.03.2010, 17:25
Re: /airstrike - by Correlli - 12.03.2010, 17:29
Re: /airstrike - by 02manchestera - 12.03.2010, 17:32
Re: /airstrike - by gotenks918 - 12.03.2010, 17:34

Forum Jump:


Users browsing this thread: 3 Guest(s)