Login message with location.
#1

Hey guys, I have seen on some servers that they have like: [NDZ]Karl(0) Joined the server [Norway] or something like that. This is what I have on my OnPlayerConnect now:
pawn Код:
new string[128],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s(%d) has joined the server.", name, playerid);
    SendClientMessageToAll(0xAAFFCC33, string);
How can I make it show what country he/she is from?
Reply
#2

Use GeoIP.
Reply
#3

Quote:
Originally Posted by TheBetaFox
Посмотреть сообщение
Use GeoIP.
Thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)