ip logger
#4

On my script on player connect has a shit load of stuff in it. Does it go at the start or end?

Also is this correct? I didn't see where you had it that it sends a message to the admins idk if this is right tho I just copied another warning
Like this?

Code:
//Top
new WatchIP[2][16] =
{
  "127.0.0.1",
  "and so on"
}

//OnPlayerConnect
new plrIP[16];
GetPlayerIp(playerid, plrIP, sizeof(plrIP));
 
if (!strcmp(plrIP,WatchIP[0]) || !strcmp(plrIP,WatchIP[1]))
{
if (PlayerInfo[playerid][pAdmin] >= 1) 
{
SendClientMessage(COLOR_RED, "Player %s is using the ip &s This IP has been flagged (Caution).", playerid, IPConfigid);
}
Reply


Messages In This Thread
ip logger - by Commander_Shaw - 13.03.2009, 02:56
Re: ip logger - by Jason_Larson - 13.03.2009, 04:04
Re: ip logger - by Backwardsman97 - 13.03.2009, 04:51
Re: ip logger - by Jason_Larson - 13.03.2009, 06:35
Re: ip logger - by Kinetic - 13.03.2009, 09:57
Re: ip logger - by Jason_Larson - 14.03.2009, 08:17

Forum Jump:


Users browsing this thread: 1 Guest(s)