Big problem!
#1

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
Reply
#2

sounds strange, meh,
Reply
#3

Show us your command: checkip ^^
Reply
#4

Lets me show him checkip commands its maybe see some error of your scripts. Lets me to need check your logs.
Reply
#5

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;
}
Reply
#6

This is the wrong section. This is for server-related issues, not scripting issues. Try posting here instead.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)