From a26606f7990fd49c519c324feda671914036ffa9 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Mon, 8 Mar 2004 17:30:30 +0000 Subject: [PATCH] amx_plugins, amx_modules: switched to console ouput instead of motd window --- plugins/admincmd.sma | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) 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