Big problem! - 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: Big problem! (
/showthread.php?tid=565590)
Big problem! -
Seaf - 28.02.2015
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
Re: Big problem! -
hEy72 - 28.02.2015
sounds strange, meh,
Re: Big problem! -
Alex MagaŃa - 28.02.2015
Show us your
command: checkip ^^
Re: Big problem! -
Ahammad - 28.02.2015
Lets me show him checkip commands its maybe see some error of your scripts. Lets me to need check your logs.
Re: Big problem! -
Seaf - 28.02.2015
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;
}
Re: Big problem! -
Abagail - 28.02.2015
This is the wrong section. This is for server-related issues, not scripting issues. Try posting
here instead.