Lookup.inc problem
#1

im using lookup.inc i made the script when player join to show the country name but it doesnt show
Example: it shows this Info: punisher has connected [Country Name]: ? [Country Region]: ?
isnt showing the country name :/
pawn Код:
public OnLookupComplete(playerid)
{
 new string[300];
 new name[24];
 GetPlayerName(playerid, name, sizeof(name));
 format(string, sizeof(string), "{FF00EA}Info: %s has connected {FFAF00}[Country Name]: {FF8000}%s {FFAF00}[Country Region]: {A90202}%s", name,GetPlayerCountryName(playerid),GetPlayerCountryRegion(playerid));
 SendClientMessageToAll(-1,string);

 if(IsProxyUser(playerid))
 {
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "Kick: {FFFFFF}%s{FF00EA} has Been Kicked From The Server Reason Using Proxy.", name);
    SendClientMessageToAll(red,string);
    Kick(playerid);
 }
 return 1;
}
P.s = is there any other method to kick nerds who change ip using proxy?
Reply


Messages In This Thread
Lookup.inc problem - by iThePunisher - 25.06.2014, 21:43
Re: Lookup.inc problem - by kepa333 - 25.06.2014, 21:49
Re: Lookup.inc problem - by iThePunisher - 25.06.2014, 21:53
Re: Lookup.inc problem - by kepa333 - 25.06.2014, 21:57
Re: Lookup.inc problem - by Don_Cage - 25.06.2014, 22:05
Re: Lookup.inc problem - by iThePunisher - 26.06.2014, 04:07

Forum Jump:


Users browsing this thread: 1 Guest(s)