12.05.2012, 08:32
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:
How can I make it show what country he/she is from?
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);