rui vieira
Veteran
- Messages
- 23
- Reaction score
- 5
- Points
- 783
hi guys im trying to make a next page for players menu keeps freezing when i press next page any help will be appreciated hes the code
self add_option("PlayersMenu", "[" + verificationToColor(player.status) + "^7] " + player.name, ::submenu, "pOpt " + i, "[" + verificationToColor(player.status) + "^7] " + player.name);
self add_menu_alt("pOpt " + i, "PlayersMenu");
self add_option("pOpt " + i, "Give CoHost", ::changeVerificationMenu, player, "CoHost");
self add_option("pOpt " + i, "Give Admin", ::changeVerificationMenu, player, "Admin");
self add_option("pOpt " + i, "Give VIP", ::changeVerificationMenu, player, "VIP");
self add_option("pOpt " + i, "Verify", ::changeVerificationMenu, player, "Verified");
self add_option("pOpt " + i, "Unverify", ::changeVerificationMenu, player, "Unverified");
self add_option("pOpt " + i, "Give Unlmited Ammo", :layerunlimitedammo, player);
self add_option( "pOpt " + i, "PlayersMenu", ::submenu, "PlayersMenu2" + i, "pOpt" );
self add_menu( "PlayersMenu2" + i, "pOpt " + i, "PlayersMenu" );
self add_option("PlayersMenu2 " + i, "Give CoHost", ::changeVerificationMenu, player, "CoHost");
self add_option("PlayersMenu2 " + i, "Give Admin", ::changeVerificationMenu, player, "Admin");
self add_option("PlayersMenu2 " + i, "Give VIP", ::changeVerificationMenu, player, "VIP");
self add_option("PlayersMenu2 " + i, "Verify", ::changeVerificationMenu, player, "Verified");
self add_option("PlayersMenu2 " + i, "Unverify", ::changeVerificationMenu, player, "Unverified");
self add_option("PlayersMenu2 " + i, "Give Unlmited Ammo", :layerunlimitedammo, player);
}
}
self add_option("PlayersMenu", "[" + verificationToColor(player.status) + "^7] " + player.name, ::submenu, "pOpt " + i, "[" + verificationToColor(player.status) + "^7] " + player.name);
self add_menu_alt("pOpt " + i, "PlayersMenu");
self add_option("pOpt " + i, "Give CoHost", ::changeVerificationMenu, player, "CoHost");
self add_option("pOpt " + i, "Give Admin", ::changeVerificationMenu, player, "Admin");
self add_option("pOpt " + i, "Give VIP", ::changeVerificationMenu, player, "VIP");
self add_option("pOpt " + i, "Verify", ::changeVerificationMenu, player, "Verified");
self add_option("pOpt " + i, "Unverify", ::changeVerificationMenu, player, "Unverified");
self add_option("pOpt " + i, "Give Unlmited Ammo", :layerunlimitedammo, player);
self add_option( "pOpt " + i, "PlayersMenu", ::submenu, "PlayersMenu2" + i, "pOpt" );
self add_menu( "PlayersMenu2" + i, "pOpt " + i, "PlayersMenu" );
self add_option("PlayersMenu2 " + i, "Give CoHost", ::changeVerificationMenu, player, "CoHost");
self add_option("PlayersMenu2 " + i, "Give Admin", ::changeVerificationMenu, player, "Admin");
self add_option("PlayersMenu2 " + i, "Give VIP", ::changeVerificationMenu, player, "VIP");
self add_option("PlayersMenu2 " + i, "Verify", ::changeVerificationMenu, player, "Verified");
self add_option("PlayersMenu2 " + i, "Unverify", ::changeVerificationMenu, player, "Unverified");
self add_option("PlayersMenu2 " + i, "Give Unlmited Ammo", :layerunlimitedammo, player);
}
}