[ create a new paste ] login | about

Link: http://codepad.org/BkqDrcJW    [ raw code | fork ]

hurracane - C, pasted on Feb 6:
1
2
3
4
5
6
7
8
9
10
11
12
check_allies()
{
	level.amount_of_allies = 0;
	players = getentarray("player","classname");
	for(a=0;a<players.size;a++)
		if(players[a].pers["team"] == "allies")
			level.amount_of_allies++;
	if(level.amount_of_allies > 2)
	{
		script();
	}
}


Create a new paste based on this one


Comments: