mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Keep all menus open forever
This commit is contained in:
parent
877b71aa4d
commit
bb09568d97
@ -3383,7 +3383,7 @@ void OpenReplayStyleMenu(int client, int track)
|
||||
}
|
||||
|
||||
menu.ExitBackButton = true;
|
||||
menu.DisplayAt(client, 0, 300);
|
||||
menu.DisplayAt(client, 0, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_ReplayStyle(Menu menu, MenuAction action, int param1, int param2)
|
||||
|
||||
@ -977,7 +977,7 @@ public Action Command_Delete(int client, int args)
|
||||
}
|
||||
|
||||
menu.ExitBackButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
@ -1064,7 +1064,7 @@ public Action Command_DeleteAll(int client, int args)
|
||||
}
|
||||
|
||||
menu.ExitBackButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
@ -1111,7 +1111,7 @@ public int MenuHandler_DeleteAll_First(Menu menu, MenuAction action, int param1,
|
||||
}
|
||||
|
||||
subMenu.ExitButton = true;
|
||||
subMenu.Display(param1, 300);
|
||||
subMenu.Display(param1, MENU_TIME_FOREVER);
|
||||
}
|
||||
else if (action == MenuAction_Cancel && param2 == MenuCancel_ExitBack)
|
||||
{
|
||||
@ -1169,7 +1169,7 @@ void DeleteAllSubmenu(int client)
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_DeleteAll(Menu menu, MenuAction action, int param1, int param2)
|
||||
@ -1305,7 +1305,7 @@ public void SQL_OpenDelete_Callback(Database db, DBResultSet results, const char
|
||||
|
||||
menu.ExitBackButton = true;
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int OpenDelete_Handler(Menu menu, MenuAction action, int param1, int param2)
|
||||
@ -1363,7 +1363,7 @@ void OpenDeleteMenu(int client, int id)
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int DeleteConfirm_Handler(Menu menu, MenuAction action, int param1, int param2)
|
||||
|
||||
@ -2106,7 +2106,7 @@ Action DisplayCustomSpawnMenu(int client)
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
@ -2191,7 +2191,7 @@ Action DisplayCustomSpawnDeleteMenu(int client)
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
@ -2620,7 +2620,7 @@ public Action Command_Zones(int client, int args)
|
||||
}
|
||||
|
||||
menu.ExitBackButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
@ -2655,7 +2655,7 @@ public int MenuHandler_SelectZoneTrack(Menu menu, MenuAction action, int param1,
|
||||
}
|
||||
|
||||
submenu.ExitButton = true;
|
||||
submenu.Display(param1, 300);
|
||||
submenu.Display(param1, MENU_TIME_FOREVER);
|
||||
}
|
||||
else if (action == MenuAction_Cancel && param2 == MenuCancel_ExitBack)
|
||||
{
|
||||
@ -3738,7 +3738,7 @@ public Action Command_DeleteAllZones(int client, int args)
|
||||
}
|
||||
|
||||
menu.ExitBackButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user