any have ip+countryFS? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: any have ip+countryFS? (
/showthread.php?tid=379281)
any have ip+countryFS? -
Star. - 21.09.2012
hi friends.
my friend have server and im head admin there
he need FS for his server.
i mean when players join th server like
Код:
STar. has joined the server country:... ip: 127.0.0.1
Re: any have ip+countryFS? -
Lordzy - 21.09.2012
Use GeoIP plugin+include.
In that script it's able to do
Re: any have ip+countryFS? -
Star. - 21.09.2012
can u give me download link?
Re: any have ip+countryFS? -
shivkat - 21.09.2012
https://sampforum.blast.hk/showthread.php?tid=190699
Re: any have ip+countryFS? -
Star. - 21.09.2012
Shivkat, there is to do something can u make for me?
package in linux
please
Re: any have ip+countryFS? -
shivkat - 21.09.2012
Quote:
Originally Posted by Star.
Shivkat, there is to do something can u make for me?
package in linux
please
|
what do you what will i get what lunix
confused , plzz be specific or better of pm me
Re: any have ip+countryFS? -
Lordzy - 21.09.2012
For IP,
You can use the function GetPlayerIP.
Example
pawn Код:
CMD:myip(playerid,params[])
{
new pIp;
GetPlayerIP(playerid,pIp,sizeof(pIp));
SendClientMessage(playerid, 0xFF0000, "You're IP is %i", pIp);
return 1;
}
Re: any have ip+countryFS? -
Star. - 21.09.2012
no no xb
i need complete when players joining need that system
Re: any have ip+countryFS? -
Lordzy - 21.09.2012
Here:
pawn Код:
public OnPlayerConnect(playerid)
{
new Lname[MAX_PLAYER_NAME];
new string;
new pIP;
GetPlayerName(playerid,Lname,sizeof(Lname));
GetPlayerIP(playerid,pIP,sizeof(pIP));
format(string,sizeof(string),"%s(ID:%d) has joined the server|IP:%i", Lname, playerid, pIP);
SendClientMessageToAll(0xC4C4C4FF, string);
return 1;
}