Code:
public event_EndRound() {
new t, c
for(new x=1;x<=PL_MAX;x++) {
if(!is_user_connected(x)) continue;
if(get_user_team(x) == 1)
t += 1;
if(get_user_team(x) == 2)
c += 1;
}
Also, use switch( get_user_team(x) ) would be better, or store the value in a variable.
Haven't time to look further in your code.
__________________