30.12.2012, 14:35
I used the filterscript you had on the package with this OnPlayerConnect
But everytime, it says this
pawn Код:
public OnPlayerConnect(playerid)
{
new isLocal;
new Country[16];
isLocal=GetPlayerLocation(playerid,Country);
new message[256];
if(!isLocal)
{
format(message,sizeof(message),">>GEO-IP<< %s from Localhost has joined the server.",GetPName(playerid));
printf(message);
}
else
{
format(message,sizeof(message),">>GEO-IP<< %s from %s has joined the server.",GetPName(playerid),Country);
printf(message);
}
SendClientMessageToAll(COLOR_JOIN,message);
return 1;
}
Quote:
|
>>GEO-IP<< Dwane from has joined the server. |

