Raised This Month: $ Target: $400
 0% 

sz_getspace overflow


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
eNz0
Member
Join Date: Feb 2010
Location: Lithuania
Old 06-08-2010 , 01:58   sz_getspace overflow
Reply With Quote #1

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
    }
}

Last edited by eNz0; 06-08-2010 at 02:39.
eNz0 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode