Answered bo2 verification system

n3m3sis28

Well-Known Member
Messages
114
Reaction score
29
Points
213
hello my bo2 mod menu verification sytem works but the menu wait till the player has died before he can open the mod menu and i want it that he can open the menu without have to die bc its for zombie can someone help me
 

Jiro

Modder
Messages
226
Reaction score
77
Points
828
Replace player suicide(); to player thread menuinit();
 
Last edited:

n3m3sis28

Well-Known Member
Messages
114
Reaction score
29
Points
213
like this then
 

Attachments

  • like this.txt
    738 bytes · Views: 327

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
Code:
changeVerificationMenu(player, verlevel)
{
    if( player.status != verlevel && !player isHost())
    {       
        player.status = verlevel;
        
        if(player.status == "Unverified")
            player thread destroyMenu(player);
        else player thread menuinit();
        
        self iPrintln("Set Access Level For " + getPlayerName(player) + " To " + verificationToColor(verlevel));
        player iPrintln("Your Access Level Has Been Set To " + verificationToColor(verlevel));
        
        
    }
    else
    {
        if (player isHost())
            self iPrintln("You Cannot Change The Access Level of The " + verificationToColor(player.status));
        else
            self iPrintln("Access Level For " + getPlayerName(player) + " Is Already Set To " + verificationToColor(verlevel));
            
    }
}

If this doesn't work then look into your onPlayerSpawned and see how the menu is called.
 
Top