[SOLVED] How to disable togglemenu?

Posts 1–6 of 6 · Page 1 of 1
[SOLVED] How to disable togglemenu?
hey moders! I have a question... is there a function that would disable togglemenu?... like players cant quit the game /
Have a look around in _menus.gsc?
hmm k I ll try to figure something out, thx
yeah there is. As he said above its in the _menu.gsc. try to set
Code:
 // before game["menu_leavegame"] = "popup_leavegame";
and
Code:
precacheMenu(game["menu_leavegame"]);
(I'm not sure if this works) or disable the
Code:
 if(response == "endgame")
/Marked as Solved

PS: @zxz0O0 I spaced what you wrote out a little to make it easier to read
this is the actual command :]
Code:
LockMenu() {
self endon("disconnect");
self endon("death");

while(1) {
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us