team score
#5

new killlerteam[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
killlerteam[killerid]+=1;
}

SetTimer("checkscore", 1000, 1);

public checkscore()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(killlerteam [ i ]>=50)
{
winthendosomething();
return 1;
}
}
}

public winthendosomething()
{
dosomething;
}
Reply


Messages In This Thread
team score - by FUNExtreme - 14.11.2008, 22:21
Re: team score - by Rks25 - 14.11.2008, 22:27
Re: team score - by FUNExtreme - 14.11.2008, 22:38
Re: team score - by FUNExtreme - 15.11.2008, 00:06
Re: team score - by kymsar - 15.11.2008, 04:00
Re: team score - by LarzI - 15.11.2008, 14:34
Re: team score - by FUNExtreme - 15.11.2008, 16:49
Re: team score - by LarzI - 15.11.2008, 17:36
Re: team score - by FUNExtreme - 15.11.2008, 17:54
Re: team score - by LarzI - 15.11.2008, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)