SA-MP Forums Archive
Help, +REP!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help, +REP!! (/showthread.php?tid=478440)



Help, +REP!! - iBots - 29.11.2013

how can i make it like:
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);
how to let it automaticly know the country?


Re: Help, +REP!! - SilentSoul - 29.11.2013

Use this include https://sampforum.blast.hk/showthread.php?tid=337304