added 3 more spaces to version output so our version numbers look nice
This commit is contained in:
parent
7f51048438
commit
993b6e6c74
|
@ -39,7 +39,7 @@ void amx_command()
|
||||||
{
|
{
|
||||||
|
|
||||||
print_srvconsole("Currently loaded plugins:\n");
|
print_srvconsole("Currently loaded plugins:\n");
|
||||||
print_srvconsole(" %-23.22s %-8.7s %-17.16s %-16.15s %-9.8s\n", "name", "version", "author", "file", "status");
|
print_srvconsole(" %-23.22s %-11.10s %-17.16s %-16.15s %-9.8s\n", "name", "version", "author", "file", "status");
|
||||||
|
|
||||||
int plugins = 0;
|
int plugins = 0;
|
||||||
int running = 0;
|
int running = 0;
|
||||||
|
@ -52,7 +52,7 @@ void amx_command()
|
||||||
if ((*a).isValid() && !(*a).isPaused())
|
if ((*a).isValid() && !(*a).isPaused())
|
||||||
++running;
|
++running;
|
||||||
|
|
||||||
print_srvconsole(" [%3d] %-23.22s %-8.7s %-17.16s %-16.15s %-9.8s\n", plugins, (*a).getTitle(), (*a).getVersion(), (*a).getAuthor(), (*a).getName(), (*a).getStatus());
|
print_srvconsole(" [%3d] %-23.22s %-11.10s %-17.16s %-16.15s %-9.8s\n", plugins, (*a).getTitle(), (*a).getVersion(), (*a).getAuthor(), (*a).getName(), (*a).getStatus());
|
||||||
++a;
|
++a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -215,7 +215,7 @@ void amx_command()
|
||||||
else if (!strcmp(cmd, "modules"))
|
else if (!strcmp(cmd, "modules"))
|
||||||
{
|
{
|
||||||
print_srvconsole("Currently loaded modules:\n");
|
print_srvconsole("Currently loaded modules:\n");
|
||||||
print_srvconsole(" %-23.22s %-8.7s %-20.19s %-11.10s\n", "name", "version", "author", "status");
|
print_srvconsole(" %-23.22s %-11.10s %-20.19s %-11.10s\n", "name", "version", "author", "status");
|
||||||
|
|
||||||
int running = 0;
|
int running = 0;
|
||||||
int modules = 0;
|
int modules = 0;
|
||||||
|
@ -228,7 +228,7 @@ void amx_command()
|
||||||
++running;
|
++running;
|
||||||
++modules;
|
++modules;
|
||||||
|
|
||||||
print_srvconsole(" [%2d] %-23.22s %-8.7s %-20.19s %-11.10s\n", modules, (*a).getName(), (*a).getVersion(), (*a).getAuthor(), (*a).getStatus());
|
print_srvconsole(" [%2d] %-23.22s %-11.10s %-20.19s %-11.10s\n", modules, (*a).getName(), (*a).getVersion(), (*a).getAuthor(), (*a).getStatus());
|
||||||
++a;
|
++a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -796,13 +796,13 @@ public cmdPlugins(id, level, cid)
|
||||||
new running = 0
|
new running = 0
|
||||||
|
|
||||||
console_print(id, "----- %L -----", id, "LOADED_PLUGINS")
|
console_print(id, "----- %L -----", id, "LOADED_PLUGINS")
|
||||||
console_print(id, "%-18.17s %-8.7s %-17.16s %-16.15s %-9.8s", lName, lVersion, lAuthor, lFile, lStatus)
|
console_print(id, "%-18.17s %-11.10s %-17.16s %-16.15s %-9.8s", lName, lVersion, lAuthor, lFile, lStatus)
|
||||||
|
|
||||||
new i=StartPLID;
|
new i=StartPLID;
|
||||||
while (i <EndPLID)
|
while (i <EndPLID)
|
||||||
{
|
{
|
||||||
get_plugin(i++, filename, 31, name, 31, version, 31, author, 31, status, 31)
|
get_plugin(i++, filename, 31, name, 31, version, 31, author, 31, status, 31)
|
||||||
console_print(id, "%-18.17s %-8.7s %-17.16s %-16.15s %-9.8s", name, version, author, filename, status)
|
console_print(id, "%-18.17s %-11.10s %-17.16s %-16.15s %-9.8s", name, version, author, filename, status)
|
||||||
|
|
||||||
if (status[0]=='d' || status[0]=='r') // "debug" or "running"
|
if (status[0]=='d' || status[0]=='r') // "debug" or "running"
|
||||||
running++
|
running++
|
||||||
|
@ -842,7 +842,7 @@ public cmdModules(id, level, cid)
|
||||||
new num = get_modulesnum()
|
new num = get_modulesnum()
|
||||||
|
|
||||||
console_print(id, "%L:", id, "LOADED_MODULES")
|
console_print(id, "%L:", id, "LOADED_MODULES")
|
||||||
console_print(id, "%-23.22s %-8.7s %-20.19s %-11.10s", lName, lVersion, lAuthor, lStatus)
|
console_print(id, "%-23.22s %-11.10s %-20.19s %-11.10s", lName, lVersion, lAuthor, lStatus)
|
||||||
|
|
||||||
for (new i = 0; i < num; i++)
|
for (new i = 0; i < num; i++)
|
||||||
{
|
{
|
||||||
|
@ -860,7 +860,7 @@ public cmdModules(id, level, cid)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console_print(id, "%-23.22s %-8.7s %-20.19s %-11.10s", name, version, author, sStatus)
|
console_print(id, "%-23.22s %-11.10s %-20.19s %-11.10s", name, version, author, sStatus)
|
||||||
}
|
}
|
||||||
console_print(id, "%L", id, "NUM_MODULES", num)
|
console_print(id, "%L", id, "NUM_MODULES", num)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user