I think this should do it:
PHP Code:
#include <amxmodx>
new string[1201]
public plugin_cfg() // P34nut's suggestion
{
new len;
len = format(string, 1200, "Plugins:^n^n");
new filename[21];
new name[21];
new version[9];
new author[21];
new status[8];
new pluginsnum = get_pluginsnum()
for(new i = 0; i < pluginsnum; i++)
{
get_plugin(i, filename, 20, name, 20, version, 8, author, 20, status, 7);
len += format(string, (1200 - len), "%s - %s^n", name, author);
}
}
public client_putinserver(id)
{
show_motd(0, string, "Plugins");
}