Hi, when there is 21+ players in my server and team change is comming (zombie swarm) i get this error:
Code:
sz_getspace overflow without fsb_allowoverflow set on server reliable datagram
I searched, and i found, that this error comes because of:
cs_set_user_team(i, CS_TEAM_CT)
cs_set_user_team(i, CS_TEAM_T)
because it is executed to more than 21 players. How can i fix this error without deleting this command?
---EDIT----
Code:
public logevent_round_end()
{
g_endround = true
if(g_roundcounter == get_pcvar_num(cvar_rounds))
{
for(new i = 1; i <= g_maxplayers; i++)
{
if(!is_user_connected(i))
continue
switch(cs_get_user_team(i))
{
case CS_TEAM_T:
cs_set_user_team(i, CS_TEAM_CT)
case CS_TEAM_CT:
cs_set_user_team(i, CS_TEAM_T)
}
}
g_roundcounter = 0
}
}