Posts: 16
Threads: 0
Joined: Apr 2011
Reputation:
0
Ok works, but the city not accurate. (Debrecen instead of Godollo wrote...)
Posts: 61
Threads: 17
Joined: Nov 2011
Reputation:
0
Hello,
someone know what's exactly the code at onplayerconnect, to kick a specified country?
Greets
Posts: 2,286
Threads: 18
Joined: Jun 2010
Quote:
Originally Posted by dreamboxxl
Hello,
someone know what's exactly the code at onplayerconnect, to kick a specified country?
Greets
|
Code:
new IP[16], country[32];
GetPlayerIp(playerid, IP, sizeof(IP));
GetIPCountry(IP, country, 32);
if(!strcmp(country, "country")) Kick(playerid);
Posts: 61
Threads: 19
Joined: May 2014
Reputation:
0
Can you please add a GetDistanceBetweenPlayers and GetDistanceBetweenIP?
Posts: 36
Threads: 6
Joined: May 2015
Reputation:
0
Dude i put the inc and dbs also but there is the sendsclientmessage and no onplayerconnect so how we will get the location and all?
Posts: 807
Threads: 62
Joined: Dec 2014
Reputation:
0
Example script's link is dead can anyone upload any example script? thanks
Posts: 1,113
Threads: 127
Joined: Jul 2008
Reputation:
0
How often do these databases change? Or not frequent enough that a web lookup would make more sense?
Posts: 9
Threads: 0
Joined: Aug 2015
Reputation:
0
How to translate the country the Russian language?