If error on Orpheu it will show log and plugin will not running for sure. Signature is correct, as i said function was called. Maybe auto team balance will only called x time in 1 round.
I use this stock for more accurate return.
Code:
//get team player count 1=TR | 2=CT
GetPlayerCount(team)
{
new j, iCount = 0
for(j=1;j<=iMaxClients;j++)
{
if(!is_user_connected(j)) continue;
if(fm_cs_get_user_team(j) == team) iCount++
}
return iCount;
}
__________________