Witam
Mój plugin po wpisaniu !ip drukuje je w konsoli.
#include <sourcemod>
public Plugin:myinfo =
{
name = "IP Serwera",
author = "Killer",
description = "Ipserwera",
version = "1.0",
};
public OnPluginStart ()
{
RegConsoleCmd ("sm_ip",IPSERWERA);
}
public Action:IPSERWERA(client,args)
{
PrintToConsole(client, "[INFO] IP Naszego Serwera To: 46.29.18.92:27049")
PrintToChat(client, "[INFO] IP Serwera Zostalo Wydrukowane w Konsoli")
}