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 © 2024, NextGenUpdate.
All Rights Reserved.