29.11.2013, 18:01
how can i make it like:
when someone connects it writes his name
how to let it automaticly know the country?
when someone connects it writes his name
pawn Код:
new Country[256];
GetPlayerCountry(playerid,Country);
new mess[256],IP[256];
GetPlayerIp(playerid,IP,sizeof(IP));
format(mess,sizeof(mess),"%s has joined the server. [ Country: %s | IP Address: %s | Ping: %i ]",GetPName(playerid),Country,IP,GetPlayerPing(playerid));
printf(mess);
SendClientMessageToAll(COLOR_JOIN,mess);