mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 22:35:37 +03:00
fixed amx_reloadadmins output
This commit is contained in:
parent
bb9160e21f
commit
49ee255fa4
@ -207,14 +207,23 @@ public cmdReload(id,level,cid) {
|
|||||||
|
|
||||||
g_aNum = 0
|
g_aNum = 0
|
||||||
loadSettings(filename) // Re-Load admins accounts
|
loadSettings(filename) // Re-Load admins accounts
|
||||||
|
|
||||||
|
if (id != 0) {
|
||||||
|
if (g_aNum == 1)
|
||||||
|
console_print(id,"[AMXX] %L", LANG_SERVER, "LOADED_ADMIN" )
|
||||||
|
else
|
||||||
|
console_print(id,"[AMXX] %L", LANG_SERVER, "LOADED_ADMINS", g_aNum )
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
adminSql()
|
adminSql()
|
||||||
#endif
|
|
||||||
|
|
||||||
|
if (id != 0) {
|
||||||
if (g_aNum == 1)
|
if (g_aNum == 1)
|
||||||
console_print(id,"[AMXX] %L", LANG_SERVER, "SQL_LOADED_ADMIN" )
|
console_print(id,"[AMXX] %L", LANG_SERVER, "SQL_LOADED_ADMIN" )
|
||||||
else
|
else
|
||||||
console_print(id,"[AMXX] %L", LANG_SERVER, "SQL_LOADED_ADMINS", g_aNum )
|
console_print(id,"[AMXX] %L", LANG_SERVER, "SQL_LOADED_ADMINS", g_aNum )
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user