Valentin Grünbacher
3b87c428dc
Newmenus: Add necessary API changes for newmenu timeouts
2014-05-21 19:17:04 +02:00
Valentin Grünbacher
c8b7a09028
Newmenus: get_user_menu should also handle newmenu timeouts properly
2014-05-21 19:01:27 +02:00
Valentin Grünbacher
fa5336cade
Newmenus: Use Menu::Close everywhere
2014-05-21 18:58:51 +02:00
Valentin Grünbacher
34337fb959
Newmenus: Add Menu::Close to remove a bunch of redundant code
2014-05-21 18:51:55 +02:00
Valentin Grünbacher
6a4c55de7d
Newmenus: Fire MENU_TIMEOUT on menuselect client command
2014-05-21 18:47:20 +02:00
Valentin Grünbacher
2e8ce87c23
Newmenus: Add MENU_TIMEOUT status code and pass it where necessary
2014-05-21 18:45:40 +02:00
Valentin Grünbacher
cd7cb8c1a8
Newmenus: Execute menu callback when old-style menu overwrites new menu
...
show_menu simply resets CPlayer::newmenu. The menu callback is never fired and the plugin never informed that the menu has been closed. This can result in leaking menu handles. Using "menuselect 10" on the client is not an appropriate solution because it is possible to construct newmenus that contain 10 valid items.
2014-05-21 18:17:09 +02:00
Valentin Grünbacher
25f507c5e3
StatsX: Add is_user_alive check to eventSpawn
2014-05-04 17:04:01 +02:00
Valentin Grünbacher
2fb232ee68
StatsX: Use replace_string and set task timer to 0.1 (AMXX minimum)
2014-05-04 17:03:59 +02:00
Valentin Grünbacher
90c4eed92e
StatsX: More charsmax in place of hardcoded buffer lengths
2014-05-04 17:03:58 +02:00
Valentin Grünbacher
bf4ba091e4
StatsX: cmdReport has to use LANG_SERVER
2014-05-04 17:03:57 +02:00
Valentin Grünbacher
c19b9d9d5d
StatsX: Switch spawn detection from ResetHUD to Ham_Spawn
2014-05-04 17:03:56 +02:00
Valentin Grünbacher
5143cada8e
StatsX: Don't format roundend hudstats if we don't show them
2014-05-04 17:03:55 +02:00
Valentin Grünbacher
f630a8afc8
StatsX: Format team score (g_sScore) on demand
2014-05-04 17:03:54 +02:00
Valentin Grünbacher
ccd0adb84d
StatsX: Actually use cached player id in end_game_stats
2014-05-04 17:03:53 +02:00
Valentin Grünbacher
4afefa25d1
StatsX: Format roundend stats for each player individually
2014-05-04 17:03:52 +02:00
Valentin Grünbacher
4de2bf21a3
StatsX: Remove implicit usages of global buffers for formatting
2014-05-04 17:03:51 +02:00
Valentin Grünbacher
136309ae6f
StatsX: Move hudstats formatting to own function
2014-05-04 17:03:50 +02:00
Valentin Grünbacher
12d2e49adf
StatsX: Rip out LANG_SERVER where possible (still pass 0 as id)
2014-05-04 17:03:48 +02:00
Valentin Grünbacher
85bb592eeb
StatsX: Switch cvar access to pcvars
2014-05-04 17:03:47 +02:00
Valentin Grünbacher
164285b221
StatsX: Switch from using defines to charsmax
2014-05-04 17:03:46 +02:00
Valentin Grünbacher
297ced77b9
StatsX: Switch format to formatex
2014-05-04 17:03:45 +02:00