Function Dosen't return a value.
#2

Код:
stock CountEventPlayersTDM(event, team)
{
	new count = 0;
	foreach(new i : Player) if(gPlayerGamemode[i] == event && GetPlayerTeam(i) == team) count++;
	return count;
}
Possible problem "GetPlayerTeam"
Reply


Messages In This Thread
Function Dosen't return a value. - by verlaj - 12.09.2016, 11:42
Re: Function Dosen't return a value. - by Stuntff - 12.09.2016, 11:45

Forum Jump:


Users browsing this thread: 2 Guest(s)