Fix amx_plugins throwing errors (#456)

This commit is contained in:
KliPPy 2017-09-01 15:18:23 +02:00 committed by Vincent Herbet
parent ba58cb045f
commit 38008a8e03

View File

@ -1001,13 +1001,13 @@ public cmdPlugins(id, level, cid)
if (EndPLID < num) if (EndPLID < num)
{ {
formatex(Temp,charsmax(Temp),"----- %L -----",id,"HELP_USE_MORE", EndPLID + 1); formatex(Temp,charsmax(Temp),"----- %L -----",id,"HELP_USE_MORE", "amx_help", EndPLID + 1);
replace_all(Temp,charsmax(Temp),"amx_help","amx_plugins"); replace_all(Temp,charsmax(Temp),"amx_help","amx_plugins");
console_print(id,"%s",Temp); console_print(id,"%s",Temp);
} }
else else
{ {
formatex(Temp,charsmax(Temp),"----- %L -----",id,"HELP_USE_BEGIN"); formatex(Temp,charsmax(Temp),"----- %L -----",id,"HELP_USE_BEGIN", "amx_help");
replace_all(Temp,charsmax(Temp),"amx_help","amx_plugins"); replace_all(Temp,charsmax(Temp),"amx_help","amx_plugins");
console_print(id,"%s",Temp); console_print(id,"%s",Temp);
} }