mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-03-27 04:49:06 +03:00
Displaying the URL of the plugin if it is present
This commit is contained in:
parent
835e0bc6c4
commit
9e31230368
@ -80,7 +80,11 @@ void amx_command()
|
||||
print_srvconsole(" Name: %s\n", plugin->getTitle());
|
||||
print_srvconsole(" Version: %s\n", plugin->getVersion());
|
||||
print_srvconsole(" Author: %s\n", plugin->getAuthor());
|
||||
print_srvconsole(" URL: %s\n", plugin->getUrl());
|
||||
|
||||
if (auto url = plugin->getUrl(); url[0])
|
||||
{
|
||||
print_srvconsole(" URL: %s\n", plugin->getUrl());
|
||||
}
|
||||
|
||||
if (auto description = plugin->getDescription(); description[0])
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user