mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Message if menu is disabled
This commit is contained in:
parent
58578690ad
commit
b3f01faf38
@ -106,7 +106,10 @@ public cmdLangMenu(id,level,cid)
|
|||||||
new buffer[3]
|
new buffer[3]
|
||||||
|
|
||||||
if (!get_cvar_num("amx_client_languages"))
|
if (!get_cvar_num("amx_client_languages"))
|
||||||
|
{
|
||||||
|
client_print(id, print_console, "[AMXX] %L", "LANG_MENU_DISABLED")
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
|
}
|
||||||
|
|
||||||
get_user_info(id,"lang",buffer,2)
|
get_user_info(id,"lang",buffer,2)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user