29.09.2012, 16:50
pawn Код:
#define FILTERSCRIPT
#include <a_samp>
#include <iploc>
public OnFilterScriptInit()
{
return 1;
}
public OnRetrieveIpLocation(playerid, country[])
{
new
szStr[ 145 ];
GetPlayerName( playerid, szStr, MAX_PLAYER_NAME );
format( szStr, sizeof( szStr ), "<SERVER> Welcome %s to the server. From %s", szStr, country );
SendClientMessageToAll( -1, szStr );
}
public OnPlayerConnect( playerid )
{
return 1;
}