diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index a8e802f0..e5919a71 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -385,10 +385,10 @@ public cmdPlugins(id,level,cid) if (!cmd_access(id,level,cid,1)) return PLUGIN_HANDLED -#if !defined NO_STEAM - #define MOTD_LEN 2048 - new motd_body[MOTD_LEN],state[4] new name[32],version[32],author[32],filename[32],status[32] + +/* + new motd_body[MOTD_LEN],state[4] new num = get_pluginsnum() new running = 0 new pos = copy(motd_body,MOTD_LEN,"") @@ -449,17 +447,16 @@ public cmdModules(id,level,cid) } format(motd_body[pos],MOTD_LEN-pos,"
NameVersionAuthor
%d modules",num) show_motd(id,motd_body,"Currently loaded modules:") -#else +*/ new num = get_modulesnum() console_print(id,"Currently loaded modules:") console_print(id,"%-23.22s %-8.7s %-20.19s","name","version","author") for (new i=0;i