21.05.2012, 02:13
First of all use IsPlayerInRangeOfPoint instead of PlayerToPoint. It's a native (default) function and is a lot more efficient.
Secondly, you have brackets messed up after //if(gTeam[i] == TEAM_NOOBS). Un-comment that line.
Debug your code with print() to see what is getting called. Also, what is the point in the timers under OnGameModeInit? Just create them open?
Secondly, you have brackets messed up after //if(gTeam[i] == TEAM_NOOBS). Un-comment that line.
Debug your code with print() to see what is getting called. Also, what is the point in the timers under OnGameModeInit? Just create them open?