Posts: 137
Threads: 54
Joined: Feb 2014
Reputation:
0
when i check my ip i got my ip and my country and my city and when i check other players ip with command /checkip i see they have my ip and my country and my city so when i bann some one its ban whole server please help me
Posts: 2,137
Threads: 37
Joined: Oct 2012
Reputation:
0
Show us your command: checkip ^^
Posts: 280
Threads: 1
Joined: Oct 2014
Reputation:
0
Lets me show him checkip commands its maybe see some error of your scripts. Lets me to need check your logs.
Posts: 137
Threads: 54
Joined: Feb 2014
Reputation:
0
CMD:ipcheck(playerid, params[])
{
new playa;
if(PlayerInfo[playerid][pAdmin] >= 2)
{
if(!sscanf(params, "u", playa))
{
if(IsPlayerConnected(playa))
{
new ipcheckip[16], link[256];
GetPlayerIp(playa, ipcheckip, sizeof(ipcheckip));
format(ipchecking[playerid], 24, "%s", PlayerName(playa));
format(link, sizeof(link), "api.ipinfodb.com/v3/ip-city/?key=6e96000f89ab82ae854f4bd2a3189d84a4eed7c77df09 1972df7a146d8efcf1b&ip=%s", ipcheckip);
HTTP(playerid, HTTP_GET, link, "", "IPCheckResponse");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "That player is not connected.");
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ipcheck [playerid/PartOfName]");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command !");
}
return 1;
}