mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
update menu drawing time (#1036)
* Update shavit-rankings.sp * Update shavit-rankings.sp * Update shavit-hud.sp * Update shavit-core.sp * Update shavit-misc.sp * Update shavit-replay.sp * Update shavit-stats.sp
This commit is contained in:
parent
f238bbcb60
commit
cd8bbdf850
@ -1182,7 +1182,7 @@ public Action Command_Style(int client, int args)
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
@ -742,7 +742,7 @@ Action ShowHUDMenu(int client, int item)
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.DisplayAt(client, item, 300);
|
||||
menu.DisplayAt(client, item, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
@ -1685,7 +1685,7 @@ public Action Command_Teleport(int client, int args)
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
return Plugin_Handled;
|
||||
@ -2273,7 +2273,7 @@ void ConfirmCheckpointsDeleteMenu(int client)
|
||||
hMenu.AddItem("no", sDisplay);
|
||||
|
||||
hMenu.ExitButton = true;
|
||||
hMenu.Display(client, 300);
|
||||
hMenu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_CheckpointsDelete(Menu menu, MenuAction action, int param1, int param2)
|
||||
@ -2737,7 +2737,7 @@ void OpenStopWarningMenu(int client, StopTimerCallback after)
|
||||
hMenu.AddItem("no", sDisplay);
|
||||
|
||||
hMenu.ExitButton = true;
|
||||
hMenu.Display(client, 300);
|
||||
hMenu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_StopWarning(Menu menu, MenuAction action, int param1, int param2)
|
||||
|
||||
@ -490,7 +490,7 @@ public Action Command_Top(int client, int args)
|
||||
if(gH_Top100Menu != null)
|
||||
{
|
||||
gH_Top100Menu.SetTitle("%T (%d)\n ", "Top100", client, gI_RankedPlayers);
|
||||
gH_Top100Menu.Display(client, 300);
|
||||
gH_Top100Menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
return Plugin_Handled;
|
||||
|
||||
@ -2640,7 +2640,7 @@ public Action Command_DeleteReplay(int client, int args)
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
@ -2685,7 +2685,7 @@ public int DeleteReplay_Callback(Menu menu, MenuAction action, int param1, int p
|
||||
}
|
||||
|
||||
submenu.ExitButton = true;
|
||||
submenu.Display(param1, 300);
|
||||
submenu.Display(param1, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
else if(action == MenuAction_End)
|
||||
@ -2829,7 +2829,7 @@ void OpenReplayTypeMenu(int client)
|
||||
menu.AddItem("stop", sDisplay, canstop ? ITEMDRAW_DEFAULT:ITEMDRAW_DISABLED);
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.DisplayAt(client, 0, 300);
|
||||
menu.DisplayAt(client, 0, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_ReplayType(Menu menu, MenuAction action, int param1, int param2)
|
||||
@ -2911,7 +2911,7 @@ void OpenReplayTrackMenu(int client)
|
||||
}
|
||||
|
||||
menu.ExitBackButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_ReplayTrack(Menu menu, MenuAction action, int param1, int param2)
|
||||
|
||||
@ -378,7 +378,7 @@ public Action Command_MapsDoneLeft(int client, int args)
|
||||
menu.AddItem(sInfo, gS_StyleStrings[iStyle].sStyleName);
|
||||
}
|
||||
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
@ -403,7 +403,7 @@ public int MenuHandler_MapsDoneLeft(Menu menu, MenuAction action, int param1, in
|
||||
submenu.AddItem(sInfo, sTrack);
|
||||
}
|
||||
|
||||
submenu.Display(param1, 300);
|
||||
submenu.Display(param1, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
else if(action == MenuAction_End)
|
||||
@ -604,7 +604,7 @@ public void OpenStatsMenuCallback(Database db, DBResultSet results, const char[]
|
||||
}
|
||||
|
||||
menu.ExitButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
else
|
||||
@ -643,7 +643,7 @@ public int MenuHandler_ProfileHandler(Menu menu, MenuAction action, int param1,
|
||||
}
|
||||
|
||||
submenu.ExitBackButton = true;
|
||||
submenu.Display(param1, 300);
|
||||
submenu.Display(param1, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
else if(action == MenuAction_End)
|
||||
@ -819,7 +819,7 @@ public void ShowMapsCallback(Database db, DBResultSet results, const char[] erro
|
||||
}
|
||||
|
||||
menu.ExitBackButton = true;
|
||||
menu.Display(client, 300);
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_ShowMaps(Menu menu, MenuAction action, int param1, int param2)
|
||||
@ -950,7 +950,7 @@ public void SQL_SubMenu_Callback(Database db, DBResultSet results, const char[]
|
||||
|
||||
hMenu.SetTitle(sFormattedTitle);
|
||||
hMenu.ExitBackButton = true;
|
||||
hMenu.Display(client, 300);
|
||||
hMenu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int SubMenu_Handler(Menu menu, MenuAction action, int param1, int param2)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user