Sign in to follow this  
klondikeOo

Change team does not work

Recommended Posts

Hello to all.
I noticed a bug.
When try to switch to another command, the command change buttons do not work.
Bug can be seen on my server 83.166.243.78:28960
What can do to move to another team? (players are moving only when they can enter the spectator)

 

PS - I apologize for the poor translation of the text into English.

Edited by klondikeOo

Share this post


Link to post
Share on other sites

I tried to put in the config set force_autoassign "0"

And still does not work.

I would not ask for help here if the problem was in the set force_autoassign "1". Since I set 0  and the result is the same as in the video.

Share this post


Link to post
Share on other sites

Thanks for the help
Removed lines in 

menuAxis

    vipright = ( level.dvar[ "vip_anyteam" ] && isDefined( self.pers[ "vip" ] ) );
    
    if( ( self.team == "axis" || self.team == "allies" ) && !vipright )
        return;

    if( level.dvar[ "force_autoassign" ] && !vipright )
    {
        self thread menuAutoAssign();
        return;
    }

menuAutoAssign

    vipright = ( level.dvar[ "vip_anyteam" ] && isDefined( self.pers[ "vip" ] ) );
    
    if( ( self.team == "axis" || self.team == "allies" ) && !vipright )
        return;


menuAllies

vipright = ( level.dvar[ "vip_anyteam" ] && isDefined( self.pers[ "vip" ] ) );
    
    if( ( self.team == "axis" || self.team == "allies" ) && !vipright )
        return;

    if( level.dvar[ "force_autoassign" ] && !vipright )
    {
        self thread menuAutoAssign();
        return;
    }

Now it works fine =)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this