I have problem this plugin what solution,plugin not print in chat please help-me.
PHP Code:
#include <sourcemod>
#include <geoip>
#include <colors>
#define PL_VERSION "1.0"
public Plugin:myinfo =
{
name = "Connect Message",
author = "",
description = "",
version = PL_VERSION,
url = ""
};
public OnPluginStart()
{
CreateConVar("sm_conn_msg_ver", PL_VERSION, "Connect Msg Version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
for (new i = 1; i <= MaxClients; i++) {
if (!IsClientInGame(i) || IsFakeClient(i))
continue;
OnClientPostAdminCheck(i);
}
}
public OnClientPostAdminCheck(client)
{
new String:sName[32], String:sIP[17], String:sGeoIP[64], String:sAuth[33];
GetClientAuthString(client, sAuth, sizeof(sAuth));
GetClientIP(client, sIP, sizeof(sIP));
GeoipCountry(sIP, sGeoIP, sizeof(sGeoIP));
GetClientName(client, sName, 32);
CPrintToChatAll("{limie}%N {default}({purple}%s{default}) connected from {green}%s", sName, sAuth, sGeoIP);
}
__________________