Answered bo2 verification system

n3m3sis28

Well-Known Member
Messages
114
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
 

Laxr

Modder
Messages
217
Points
253
Replace player suicide(); to player thread menuinit();
 
Last edited:

candy

G59 Terrorist
Staff member
Donator
Messages
1,306
Points
548
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.
 

Similar threads


Top