ConsoleGods
Member
- Messages
- 55
- Reaction score
- 5
- Points
- 8
Hello,
I've got this loading on my mod menu without it crashing... but when I click it to give someone a perk it does say "This player now has ** Perk"... but they don't?
Any reason why it says they have it when they don't?
I've got this loading on my mod menu without it crashing... but when I click it to give someone a perk it does say "This player now has ** Perk"... but they don't?
Any reason why it says they have it when they don't?
Code:
m = "Player Options 1";
options[m] = [];
options[m][options[m].size] = AddOption(m, "^5\"+Give: " + verificationToTag(player.MenuAccess) + " ^5" + pName + "?\"", ::test);
options[m][options[m].size] = AddOption(m, "Make Verified", ::SetVerification, "Verified", undefined, true);
options[m][options[m].size] = AddOption(m, "Make VIP", ::SetVerification, "VIP", undefined, true);
options[m][options[m].size] = AddOption(m, "Make Admin", ::SetVerification, "Admin", undefined, true);
options[m][options[m].size] = AddOption(m, "Make CoHost", ::SetVerification, "CoHost", undefined, true);
options[m][options[m].size] = AddOption(m, "Give/Take GodMode [" + getBooleanStatus(player.HasGodModeOn) + "]", ::doGodMode, player);
options[m][options[m].size] = AddOption(m, "Give/Take Infinite Ammo [" + getBooleanStatus(player.HasInfiniteAmmo) + "]", ::doInfiniteAmmo, player);
if(level.script == "zm_transit")
{
options[m][options[m].size] = AddOption(m, "^5\"+" + m + "\"", ::test);
options[m][options[m].size] = AddOption(m, "Juggernog", ::givePlayerPerk, "specialty_armorvest");
options[m][options[m].size] = AddOption(m, "Quick Reload", ::givePlayerPerk, "specialty_fastreload");
options[m][options[m].size] = AddOption(m, "Double Tap", ::givePlayerPerk, "specialty_rof");
options[m][options[m].size] = AddOption(m, "Quick Revive", ::givePlayerPerk, "specialty_quickrevive");
options[m][options[m].size] = AddOption(m, "Marathon", ::givePlayerPerk, "specialty_longersprint");
}
else if(level.script == "zm_buried")
{
options[m][options[m].size] = AddOption(m, "^5\"+" + m + "\"", ::test);
options[m][options[m].size] = AddOption(m, "Juggernog", ::givePlayerPerk, "specialty_armorvest");
options[m][options[m].size] = AddOption(m, "Quick Reload", ::givePlayerPerk, "specialty_fastreload");
options[m][options[m].size] = AddOption(m, "Double Tap", ::givePlayerPerk, "specialty_rof");
options[m][options[m].size] = AddOption(m, "Quick Revive", ::givePlayerPerk, "specialty_quickrevive");
options[m][options[m].size] = AddOption(m, "Marathon", ::givePlayerPerk, "specialty_longersprint");
options[m][options[m].size] = AddOption(m, "Vulture Aid", ::givePlayerPerk, "specialty_nomotionsensor");
options[m][options[m].size] = AddOption(m, "Mulekick", ::givePlayerPerk, "specialty_additionalprimaryweapon");
}
else if(level.script == "zm_tomb")
{
options[m][options[m].size] = AddOption(m, "^5\"+" + m + "\"", ::test);
options[m][options[m].size] = AddOption(m, "Juggernog", ::givePlayerPerk, "specialty_armorvest");
options[m][options[m].size] = AddOption(m, "Quick Reload", ::givePlayerPerk, "specialty_fastreload");
options[m][options[m].size] = AddOption(m, "Double Tap", ::givePlayerPerk, "specialty_rof");
options[m][options[m].size] = AddOption(m, "Quick Revive", ::givePlayerPerk, "specialty_quickrevive");
options[m][options[m].size] = AddOption(m, "Marathon", ::givePlayerPerk, "specialty_longersprint");
options[m][options[m].size] = AddOption(m, "Mulekick", ::givePlayerPerk, "specialty_additionalprimaryweapon");
options[m][options[m].size] = AddOption(m, "Electric Cherry", ::givePlayerPerk, "specialty_grenadepulldeath");
options[m][options[m].size] = AddOption(m, "PHD Flopper", ::givePlayerPerk, "specialty_flakjacket");
options[m][options[m].size] = AddOption(m, "Deadshot", ::givePlayerPerk, "specialty_deadshot");
}
else if(level.script == "zm_prison")
{
options[m][options[m].size] = AddOption(m, "^5\"+" + m + "\"", ::test);
options[m][options[m].size] = AddOption(m, "Juggernog", ::givePlayerPerk, "specialty_armorvest");
options[m][options[m].size] = AddOption(m, "Quick Reload", ::givePlayerPerk, "specialty_fastreload");
options[m][options[m].size] = AddOption(m, "Double Tap", ::givePlayerPerk, "specialty_rof");
options[m][options[m].size] = AddOption(m, "Electric Cherry", ::givePlayerPerk, "specialty_grenadepulldeath");
options[m][options[m].size] = AddOption(m, "Deadshot", ::givePlayerPerk, "specialty_deadshot");
}
else if(level.script == "zm_highrise")
{
options[m][options[m].size] = AddOption(m, "^5\"+" + m + "\"", ::test);
options[m][options[m].size] = AddOption(m, "Juggernog", ::givePlayerPerk, "specialty_armorvest");
options[m][options[m].size] = AddOption(m, "Quick Reload", ::givePlayerPerk, "specialty_fastreload");
options[m][options[m].size] = AddOption(m, "Double Tap", ::givePlayerPerk, "specialty_rof");
options[m][options[m].size] = AddOption(m, "Who's Who", ::givePlayerPerk, "specialty_finalstand");
options[m][options[m].size] = AddOption(m, "Quick Revive", ::givePlayerPerk, "specialty_quickrevive");
options[m][options[m].size] = AddOption(m, "Mulekick", ::givePlayerPerk, "specialty_additionalprimaryweapon");
}
else if(level.script == "zm_nuked")
{
options[m][options[m].size] = AddOption(m, "^5\"+" + m + "\"", ::test);
options[m][options[m].size] = AddOption(m, "Juggernog", ::givePlayerPerk, "specialty_armorvest");
options[m][options[m].size] = AddOption(m, "Quick Reload", ::givePlayerPerk, "specialty_fastreload");
options[m][options[m].size] = AddOption(m, "Double Tap", ::givePlayerPerk, "specialty_rof");
options[m][options[m].size] = AddOption(m, "Quick Revive", ::givePlayerPerk, "specialty_quickrevive");
}