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
223
Reaction score
71
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: 362

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
752
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