From 47d2da259b2f5120ec4a5331eb509a52e0f73e09 Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Sun, 28 Sep 2014 17:41:48 +0200 Subject: [PATCH 1/4] Update core to use amx_language cvar instead of vault --- configs/cstrike/amxx.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/cstrike/amxx.cfg b/configs/cstrike/amxx.cfg index 543ff6ac..abd9a0d5 100755 --- a/configs/cstrike/amxx.cfg +++ b/configs/cstrike/amxx.cfg @@ -134,12 +134,23 @@ amx_extendmap_max 90 // Default value: 15 amx_extendmap_step 15 +// Server language in ISO 639-1 format +// Please see data/lang/languages.txt file for a list of supported languages +// +// Default value: en +amx_language "en" + // If you set this to 0, clients cannot chose their language, instead they use // whatever language the server is configured to use. // // Default value: 1 amx_client_languages 1 +// If you set this to 0, clients will not see a message about amx_langmenu when they join the server +// +// Default value: 1 +amx_language_display_msg 1 + // Plugin Debug mode // 0 - No debugging (garbage line numbers) // 1 - Plugins with "debug" option in plugins.ini are put into debug mode From f1f2d9f98af5a3f3ecc6bbafc9f7d7c337b881e1 Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Sun, 28 Sep 2014 17:48:16 +0200 Subject: [PATCH 2/4] Replace hardcoded defines in adminhelp with cvars --- configs/cstrike/amxx.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configs/cstrike/amxx.cfg b/configs/cstrike/amxx.cfg index abd9a0d5..39eed59e 100755 --- a/configs/cstrike/amxx.cfg +++ b/configs/cstrike/amxx.cfg @@ -151,6 +151,16 @@ amx_client_languages 1 // Default value: 1 amx_language_display_msg 1 +// If you set this to 0, clients will not see a message about amx_help when they join the server +// +// Default value: 1 +amx_help_display_msg 1 + +// Amount of commands per amx_help page +// +// Default value: 10 +amx_help_amount_per_page 10 + // Plugin Debug mode // 0 - No debugging (garbage line numbers) // 1 - Plugins with "debug" option in plugins.ini are put into debug mode From 12c08ddcdb151aef78417925f13102c3daa22461 Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Sun, 28 Sep 2014 17:59:01 +0200 Subject: [PATCH 3/4] Update core to use amx_language cvar instead of vault --- configs/ns/amxx.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/ns/amxx.cfg b/configs/ns/amxx.cfg index 600c3fe8..9eeb9999 100755 --- a/configs/ns/amxx.cfg +++ b/configs/ns/amxx.cfg @@ -134,12 +134,23 @@ amx_extendmap_max 90 // Default value: 15 amx_extendmap_step 15 +// Server language in ISO 639-1 format +// Please see data/lang/languages.txt file for a list of supported languages +// +// Default value: en +amx_language "en" + // If you set this to 0, clients cannot chose their language, instead they use // whatever language the server is configured to use. // // Default value: 1 amx_client_languages 1 +// If you set this to 0, clients will not see a message about amx_langmenu when they join the server +// +// Default value: 1 +amx_language_display_msg 1 + // Plugin Debug mode // 0 - No debugging (garbage line numbers) // 1 - Plugins with "debug" option in plugins.ini are put into debug mode From 2bae36e8eb25d03e1650dfaf3fd47e3658e0c660 Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Sun, 28 Sep 2014 18:02:16 +0200 Subject: [PATCH 4/4] Replace hardcoded defines in adminhelp with cvars --- configs/ns/amxx.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configs/ns/amxx.cfg b/configs/ns/amxx.cfg index 9eeb9999..cdc5bba9 100755 --- a/configs/ns/amxx.cfg +++ b/configs/ns/amxx.cfg @@ -151,6 +151,16 @@ amx_client_languages 1 // Default value: 1 amx_language_display_msg 1 +// If you set this to 0, clients will not see a message about amx_help when they join the server +// +// Default value: 1 +amx_help_display_msg 1 + +// Amount of commands per amx_help page +// +// Default value: 10 +amx_help_amount_per_page 10 + // Plugin Debug mode // 0 - No debugging (garbage line numbers) // 1 - Plugins with "debug" option in plugins.ini are put into debug mode