View Single Post
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 09-28-2013 , 09:47   Re: biohazard cs_set_team [ tag mismatch ]
Reply With Quote #6

Quote:
Originally Posted by CryWolf View Post
Man i think i dont follow you, you're trying to say that the specified module will crash my server ? i have just tested yet with 24 bots seems okay, transfered all at round start from terror to random teams, he did not crashed , what i was trying to say on my prev post is that i am using a stable hlds version witch allows me to still run that module fine.

I don't whant to revert all the biohazard team switch from that module back to cstrike or worst i think fakemeta!

FakeMeta it's better than that module, using fakemeta with delay ?
With Bots it's not the same.

This code is working fine for me (taken from Exolents HnS Plugins)
PHP Code:
    static iCountclient;
    
    
iCount 0;
    
    for( 
client 0client <= g_iMaxPlayersclient++ )
    {
        if( 
is_user_connectedclient ) )
        {
            if( 
iCount >= SWAP_PER_INTERVAL )
            {
                
set_taskSWAP_INTERVAL"Event_CTWin"TASK_ID_SWAPTEAMS );
            }
            
            switch( 
cs_get_user_teamclient ) )
            {
                case 
CS_TEAM_T:
                {
                    
cs_set_user_teamclientCS_TEAM_CTCS_CT_GIGN );
                    
                    
iCount++;
                }
                case 
CS_TEAM_CT:
                {
                    
cs_set_user_teamclientCS_TEAM_TCS_T_LEET );
                    
                    
iCount++;
                }
            }
        }
    }
    
    
remove_task(TASK_ID_SWAPTEAMS
__________________

Last edited by Kia; 09-28-2013 at 09:47.
Kia is offline