[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 /



// before game["menu_leavegame"] = "popup_leavegame";
precacheMenu(game["menu_leavegame"]);
if(response == "endgame")

LockMenu() {
self endon("disconnect");
self endon("death");
while(1) {
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}