Message if menu is disabled

This commit is contained in:
David Anderson 2004-09-16 22:39:07 +00:00
parent 58578690ad
commit b3f01faf38

View File

@ -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)