Post: BO2 Mod menu Edit Freeze / invisible Text
04-15-2016, 02:21 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey all. I hope somebody can help me. So this is the problem I have:

When I edit a gsc Mod Menu ( Sharks ZombieLand ) Just for privite use. I can add Stuff in the mod menu, But only like 8 at 1 Page when i add more there is no text: So i Add a Submenu But when i do That, I Inject it And start Custom Games It Freezes At Load screen or it starts up and lags out and freeze than. the same happens when i try to add a Main Option.

I hope You can understand this and help me out?

thx
(adsbygoogle = window.adsbygoogle || []).push({});
04-15-2016, 08:22 PM #2
MrMoan
Big Daddy
Text goes away due to the overflow he used [im pretty sure]

pm me ill help you bro
04-15-2016, 08:23 PM #3
JustFuSiOn
Are you high?
Originally posted by Ownd View Post
Hey all. I hope somebody can help me. So this is the problem I have:

When I edit a gsc Mod Menu ( Sharks ZombieLand ) Just for privite use. I can add Stuff in the mod menu, But only like 8 at 1 Page when i add more there is no text: So i Add a Submenu But when i do That, I Inject it And start Custom Games It Freezes At Load screen or it starts up and lags out and freeze than. the same happens when i try to add a Main Option.

I hope You can understand this and help me out?

thx


You must not be adding the submenu correctly, and the text disappears because there's too much text on that current menu/submenu.

You could show me how you're adding the submenu and I'll let you know whats wrong?

The following user thanked JustFuSiOn for this useful post:

Just__Ownd
04-16-2016, 12:21 PM #4
Originally posted by xFuSiOnMODzZ View Post
You must not be adding the submenu correctly, and the text disappears because there's too much text on that current menu/submenu.

You could show me how you're adding the submenu and I'll let you know whats wrong?



The first submenu whas already there and that one works i added the second one. And can i add more on one text on one submenu? when i open the menu there is enough room for more?

    CreateMenu()
{
if (self.status == "human")
{
self add_menu("Main Menu Human", undefined, "The Shop (Status: ^2Human^7)", "Unverified");
self add_option("Main Menu Human", "General", ::submenu, "General", "General", "General");
self add_option("Main Menu Human", "Equipment", ::submenu, "Equipment", "Equipment");
self add_option("Main Menu Human", "Perks", ::submenu, "Perks", "Perks");
self add_option("Main Menu Human", "Weapons", ::submenu, "Weapons", "Weapons");
self add_option("Main Menu Human", "Attachments", ::submenu, "Attachments", "Attachments");
if(self isHost())
{
self add_option("Main Menu Human", "Host", ::submenu, "Host", "Host");
self add_option("Main Menu Human", "Players", ::submenu, "PlayersMenu", "Players");
}

self add_menu("General", "Main Menu Human", "General" , "human");
self add_option("General", "^1+100 ^7Health / ^2$" + level.itemPrice["Human"]["General"]["Health"], ::AddHealth, 100, "Human");
self add_option("General", "^7Max Ammo For Current Weapon / ^2$" + level.itemPrice["Human"]["Weapons"]["Ammo"], ::RefillAmmo);
self add_option("General", "^7UAV / ^2$" + level.itemPrice["Human"]["General"]["UAV"], ::GiveUAV, "Human");
self add_option("General", "^7Spawn Turret / ^2$" + level.itemPrice["Human"]["General"]["Turret"], ::spawnTurretPlayer, "auto_gun_turret_mp");
self add_option("General", "^7Unlimited Ammo / ^2$" + level.itemPrice["Human"]["Weapons"]["UnlimitedAmmo"], ::infiniteAmmo);
self add_option("General", "^7StrafeRun / ^2$" + level.itemPrice["Human"]["General"]["Straff"], ::initStrafeRun, "Human");
self add_option("General", "^7Change To Your Class / ^2$" + level.itemPrice["Human"]["General"]["Class"], ::ChangeClass, "Human");
self add_option("General", "^7--- [{+gostand}] ---", ::submenu, "Page2");

self add_menu("Page2", "General", self.menu.menuopt["General"], "human");
self add_option("Page2", "Jet Pack ^7/ ^2$" + level.itemPrice["Human"]["General"]["JetPack"], ::doJetPack, "Page2");
self add_option("Page2", "^5Electric ^1Cherry / ^2$" + level.itemPrice["Human"]["General"]["cherry"], ::ElectricCherry, "Page2");
self add_option("Page2", "^7Super Sayan 2 / ^2$" + level.itemPrice["Human"]["General"]["SSJ2"], ::SuperSayan2, "Page2");
self add_option("Page2", "^7Clone / ^2$" + level.itemPrice["Human"]["General"]["Clone"], ::Clone, "Page2");
self add_option("Page2", "^7Nova Gas / ^2$" + level.itemPrice["Human"]["General"]["Nova"], ::NovaGas, "Page2");
self add_option("Page2", "^7PRO-Mode / ^2FREE", ::ToggleFOV, "Page2");
self add_option("Page2", "^7Random Camo + Ammo / ^2$" + level.itemPrice["Human"]["General"]["RandomCamo"], ::CamoChanger, "Page2");
self add_option("Page2", "^7--- [{+gostand}] ---", ::submenu, "Page3");

self add_menu("Page3", "General", self.menu.menuopt["General"], "human");
04-16-2016, 05:26 PM #5
JustFuSiOn
Are you high?
Originally posted by Ownd View Post
The first submenu whas already there and that one works i added the second one. And can i add more on one text on one submenu? when i open the menu there is enough room for more?

    CreateMenu()
{
if (self.status == "human")
{
self add_menu("Main Menu Human", undefined, "The Shop (Status: ^2Human^7)", "Unverified");
self add_option("Main Menu Human", "General", ::submenu, "General", "General", "General");
self add_option("Main Menu Human", "Equipment", ::submenu, "Equipment", "Equipment");
self add_option("Main Menu Human", "Perks", ::submenu, "Perks", "Perks");
self add_option("Main Menu Human", "Weapons", ::submenu, "Weapons", "Weapons");
self add_option("Main Menu Human", "Attachments", ::submenu, "Attachments", "Attachments");
if(self isHost())
{
self add_option("Main Menu Human", "Host", ::submenu, "Host", "Host");
self add_option("Main Menu Human", "Players", ::submenu, "PlayersMenu", "Players");
}

self add_menu("General", "Main Menu Human", "General" , "human");
self add_option("General", "^1+100 ^7Health / ^2$" + level.itemPrice["Human"]["General"]["Health"], ::AddHealth, 100, "Human");
self add_option("General", "^7Max Ammo For Current Weapon / ^2$" + level.itemPrice["Human"]["Weapons"]["Ammo"], ::RefillAmmo);
self add_option("General", "^7UAV / ^2$" + level.itemPrice["Human"]["General"]["UAV"], ::GiveUAV, "Human");
self add_option("General", "^7Spawn Turret / ^2$" + level.itemPrice["Human"]["General"]["Turret"], ::spawnTurretPlayer, "auto_gun_turret_mp");
self add_option("General", "^7Unlimited Ammo / ^2$" + level.itemPrice["Human"]["Weapons"]["UnlimitedAmmo"], ::infiniteAmmo);
self add_option("General", "^7StrafeRun / ^2$" + level.itemPrice["Human"]["General"]["Straff"], ::initStrafeRun, "Human");
self add_option("General", "^7Change To Your Class / ^2$" + level.itemPrice["Human"]["General"]["Class"], ::ChangeClass, "Human");
self add_option("General", "^7--- [{+gostand}] ---", ::submenu, "Page2");

self add_menu("Page2", "General", self.menu.menuopt["General"], "human");
self add_option("Page2", "Jet Pack ^7/ ^2$" + level.itemPrice["Human"]["General"]["JetPack"], ::doJetPack, "Page2");
self add_option("Page2", "^5Electric ^1Cherry / ^2$" + level.itemPrice["Human"]["General"]["cherry"], ::ElectricCherry, "Page2");
self add_option("Page2", "^7Super Sayan 2 / ^2$" + level.itemPrice["Human"]["General"]["SSJ2"], ::SuperSayan2, "Page2");
self add_option("Page2", "^7Clone / ^2$" + level.itemPrice["Human"]["General"]["Clone"], ::Clone, "Page2");
self add_option("Page2", "^7Nova Gas / ^2$" + level.itemPrice["Human"]["General"]["Nova"], ::NovaGas, "Page2");
self add_option("Page2", "^7PRO-Mode / ^2FREE", ::ToggleFOV, "Page2");
self add_option("Page2", "^7Random Camo + Ammo / ^2$" + level.itemPrice["Human"]["General"]["RandomCamo"], ::CamoChanger, "Page2");
self add_option("Page2", "^7--- [{+gostand}] ---", ::submenu, "Page3");

self add_menu("Page3", "General", self.menu.menuopt["General"], "human");


change
    self add_menu("Page3", "General", self.menu.menuopt["General"], "human");


to
    self add_menu("Page3", "Page2", self.menu.menuopt["General"], "human");
04-16-2016, 06:03 PM #6
Originally posted by xFuSiOnMODzZ View Post
change
    self add_menu("Page3", "General", self.menu.menuopt["General"], "human");


to
    self add_menu("Page3", "Page2", self.menu.menuopt["General"], "human");



Thx it worked im pretty new to coding i know how to mod but coding pff xD.
Do know how to add more option on 1 page couse i can only do 9 per Page other it the text is invisible.

And when i add a new option in menu it freezes this is how i add a menu
    CreateMenu()
{
if (self.status == "human")
{
self add_menu("Main Menu Human", undefined, "The Shop (Status: ^2Human^7)", "Unverified");
self add_option("Main Menu Human", "TestNGU", ::submenu, "TestNGU", "TestNGU");
self add_option("Main Menu Human", "General", ::submenu, "General", "General", "General");
self add_option("Main Menu Human", "Equipment", ::submenu, "Equipment", "Equipment");
self add_option("Main Menu Human", "Perks", ::submenu, "Perks", "Perks");
self add_option("Main Menu Human", "Weapons", ::submenu, "Weapons", "Weapons");
self add_option("Main Menu Human", "Attachments", ::submenu, "Attachments", "Attachments");
if(self isHost())
{
self add_option("Main Menu Human", "Host", ::submenu, "Host", "Host");
self add_option("Main Menu Human", "Players", ::submenu, "PlayersMenu", "Players");
}

self add_menu("TestNGU", "Main Menu Human", "TestNGU" , "human");
04-16-2016, 06:14 PM #7
JustFuSiOn
Are you high?
Originally posted by Ownd View Post
Thx it worked im pretty new to coding i know how to mod but coding pff xD.
Do know how to add more option on 1 page couse i can only do 9 per Page other it the text is invisible.

And when i add a new option in menu it freezes this is how i add a menu
    CreateMenu()
{
if (self.status == "human")
{
self add_menu("Main Menu Human", undefined, "The Shop (Status: ^2Human^7)", "Unverified");
self add_option("Main Menu Human", "TestNGU", ::submenu, "TestNGU", "TestNGU");
self add_option("Main Menu Human", "General", ::submenu, "General", "General", "General");
self add_option("Main Menu Human", "Equipment", ::submenu, "Equipment", "Equipment");
self add_option("Main Menu Human", "Perks", ::submenu, "Perks", "Perks");
self add_option("Main Menu Human", "Weapons", ::submenu, "Weapons", "Weapons");
self add_option("Main Menu Human", "Attachments", ::submenu, "Attachments", "Attachments");
if(self isHost())
{
self add_option("Main Menu Human", "Host", ::submenu, "Host", "Host");
self add_option("Main Menu Human", "Players", ::submenu, "PlayersMenu", "Players");
}

self add_menu("TestNGU", "Main Menu Human", "TestNGU" , "human");


I don't know if there is a way, I've haven't looked into it because it's never really bothered me.

And for the option/menu, did you mean when you add a menu or an option? You weren't very clear sorry.
04-16-2016, 08:37 PM #8
Originally posted by xFuSiOnMODzZ View Post
change
    self add_menu("Page3", "General", self.menu.menuopt["General"], "human");


to
    self add_menu("Page3", "Page2", self.menu.menuopt["General"], "human");


Hey so i tried it again But it freezes again at loading screen. This is correct right for adding submenu

    CreateMenu()
{
if (self.status == "human")
{
self add_menu("Main Menu Human", undefined, "The Shop (Status: ^2Human^7)", "Unverified");
self add_option("Main Menu Human", "General", ::submenu, "General", "General", "General");
self add_option("Main Menu Human", "Equipment", ::submenu, "Equipment", "Equipment");
self add_option("Main Menu Human", "Perks", ::submenu, "Perks", "Perks");
self add_option("Main Menu Human", "Weapons", ::submenu, "Weapons", "Weapons");
self add_option("Main Menu Human", "Attachments", ::submenu, "Attachments", "Attachments");
if(self isHost())
{
self add_option("Main Menu Human", "Host", ::submenu, "Host", "Host");
self add_option("Main Menu Human", "Players", ::submenu, "PlayersMenu", "Players");
}


self add_menu("General", "Main Menu Human", "General" , "human");
self add_option("General", "^1+100 ^7Health / ^2$" + level.itemPrice["Human"]["General"]["Health"], ::AddHealth, 100, "Human");
self add_option("General", "^7Max Ammo For Current Weapon / ^2$" + level.itemPrice["Human"]["Weapons"]["Ammo"], ::RefillAmmo);
self add_option("General", "^7UAV / ^2$" + level.itemPrice["Human"]["General"]["UAV"], ::GiveUAV, "Human");
self add_option("General", "^7Spawn Turret / ^2$" + level.itemPrice["Human"]["General"]["Turret"], ::spawnTurretPlayer, "auto_gun_turret_mp");
self add_option("General", "^7Unlimited Ammo / ^2$" + level.itemPrice["Human"]["Weapons"]["UnlimitedAmmo"], ::infiniteAmmo);
self add_option("General", "^7StrafeRun / ^2$" + level.itemPrice["Human"]["General"]["Straff"], ::initStrafeRun, "Human");
self add_option("General", "^7Change To Your Class / ^2$" + level.itemPrice["Human"]["General"]["Class"], ::ChangeClass, "Human");
self add_option("General", "^1SECRET ^3Weapon Winky Winky ^7/ ^2$" + level.itemPrice["Human"]["General"]["Default"], ::GiveDefaultGun, "Human");
self add_option("General", "^7--- [{+gostand}] ---", ::submenu, "Page2");

self add_menu("Page2", "General", self.menu.menuopt["General"], "human");
self add_option("Page2", "Jet Pack ^7/ ^2$" + level.itemPrice["Human"]["General"]["JetPack"], ::doJetPack, "Page2");
self add_option("Page2", "^5Electric ^1Cherry / ^2$" + level.itemPrice["Human"]["General"]["cherry"], ::ElectricCherry, "Page2");
self add_option("Page2", "^7Super Sayan 2 / ^2$" + level.itemPrice["Human"]["General"]["SSJ2"], ::SuperSayan2, "Page2");
self add_option("Page2", "^7Clone / ^2$" + level.itemPrice["Human"]["General"]["Clone"], ::Clone, "Page2");
self add_option("Page2", "^7Nova Gas / ^2$" + level.itemPrice["Human"]["General"]["Nova"], ::NovaGas, "Page2");
self add_option("Page2", "^7PRO-Mode / ^2FREE", ::ToggleFOV, "Page2");
self add_option("Page2", "^7Random Camo + Ammo / ^2$" + level.itemPrice["Human"]["General"]["RandomCamo"], ::CamoChanger, "Page2");
self add_option("Page2", "^7--- [{+gostand}] ---", ::submenu, "Page3");

self add_menu("Page3", "Page2", self.menu.menuopt["General"], "human");
self add_option("Page3", "^7Magic Bullets [^1Visical Only^7] / ^2$" + level.itemPrice["Human"]["General"]["Magic"], ::MagicBullet, "Page3");
04-16-2016, 09:34 PM #9
JustFuSiOn
Are you high?
Originally posted by Ownd View Post
Hey so i tried it again But it freezes again at loading screen. This is correct right for adding submenu

    CreateMenu()
{
if (self.status == "human")
{
self add_menu("Main Menu Human", undefined, "The Shop (Status: ^2Human^7)", "Unverified");
self add_option("Main Menu Human", "General", ::submenu, "General", "General", "General");
self add_option("Main Menu Human", "Equipment", ::submenu, "Equipment", "Equipment");
self add_option("Main Menu Human", "Perks", ::submenu, "Perks", "Perks");
self add_option("Main Menu Human", "Weapons", ::submenu, "Weapons", "Weapons");
self add_option("Main Menu Human", "Attachments", ::submenu, "Attachments", "Attachments");
if(self isHost())
{
self add_option("Main Menu Human", "Host", ::submenu, "Host", "Host");
self add_option("Main Menu Human", "Players", ::submenu, "PlayersMenu", "Players");
}


self add_menu("General", "Main Menu Human", "General" , "human");
self add_option("General", "^1+100 ^7Health / ^2$" + level.itemPrice["Human"]["General"]["Health"], ::AddHealth, 100, "Human");
self add_option("General", "^7Max Ammo For Current Weapon / ^2$" + level.itemPrice["Human"]["Weapons"]["Ammo"], ::RefillAmmo);
self add_option("General", "^7UAV / ^2$" + level.itemPrice["Human"]["General"]["UAV"], ::GiveUAV, "Human");
self add_option("General", "^7Spawn Turret / ^2$" + level.itemPrice["Human"]["General"]["Turret"], ::spawnTurretPlayer, "auto_gun_turret_mp");
self add_option("General", "^7Unlimited Ammo / ^2$" + level.itemPrice["Human"]["Weapons"]["UnlimitedAmmo"], ::infiniteAmmo);
self add_option("General", "^7StrafeRun / ^2$" + level.itemPrice["Human"]["General"]["Straff"], ::initStrafeRun, "Human");
self add_option("General", "^7Change To Your Class / ^2$" + level.itemPrice["Human"]["General"]["Class"], ::ChangeClass, "Human");
self add_option("General", "^1SECRET ^3Weapon Winky Winky ^7/ ^2$" + level.itemPrice["Human"]["General"]["Default"], ::GiveDefaultGun, "Human");
self add_option("General", "^7--- [{+gostand}] ---", ::submenu, "Page2");

self add_menu("Page2", "General", self.menu.menuopt["General"], "human");
self add_option("Page2", "Jet Pack ^7/ ^2$" + level.itemPrice["Human"]["General"]["JetPack"], ::doJetPack, "Page2");
self add_option("Page2", "^5Electric ^1Cherry / ^2$" + level.itemPrice["Human"]["General"]["cherry"], ::ElectricCherry, "Page2");
self add_option("Page2", "^7Super Sayan 2 / ^2$" + level.itemPrice["Human"]["General"]["SSJ2"], ::SuperSayan2, "Page2");
self add_option("Page2", "^7Clone / ^2$" + level.itemPrice["Human"]["General"]["Clone"], ::Clone, "Page2");
self add_option("Page2", "^7Nova Gas / ^2$" + level.itemPrice["Human"]["General"]["Nova"], ::NovaGas, "Page2");
self add_option("Page2", "^7PRO-Mode / ^2FREE", ::ToggleFOV, "Page2");
self add_option("Page2", "^7Random Camo + Ammo / ^2$" + level.itemPrice["Human"]["General"]["RandomCamo"], ::CamoChanger, "Page2");
self add_option("Page2", "^7--- [{+gostand}] ---", ::submenu, "Page3");

self add_menu("Page3", "Page2", self.menu.menuopt["General"], "human");
self add_option("Page3", "^7Magic Bullets [^1Visical Only^7] / ^2$" + level.itemPrice["Human"]["General"]["Magic"], ::MagicBullet, "Page3");


what does your submenu() function look like?
04-17-2016, 01:38 AM #10
Originally posted by xFuSiOnMODzZ View Post
what does your submenu() function look like?


This One ?
    submenu(input, title, title2)
{
self.menu.options destroy();

if (!isDefined(title))
title = self.menu.subtitle[input];
if (input == "Main Menu Human")
self thread StoreText(input, "The Shop ^1(^7Status: Human^1)^7");
if (input == "PlayersMenu")
{
self updatePlayersMenu();
self thread StoreText(input, "Clients");
}
else if (input == "Main Menu Zombie")
self thread StoreText(input, "The Shop ^1(^7Status: Zombie^1)^7");
else
self thread StoreText(input, title);

if (input == "Main Menu Human")
self thread StoreText2(input, "Nemesis Zombieland");
else if (input == "Main Menu Zombie")
self thread StoreText2(input, "Nemesis Zombieland");
else
self thread StoreText2(input, title2);

self.CurMenu = input;

self.menu.scrollerpos[self.CurMenu] = self.menu.curs[self.CurMenu];
self.menu.curs[input] = self.menu.scrollerpos[input];

if (!self.menu.closeondeath)
{
self updateScrollbar();
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo