Ip Log & Radar
#3

Quote:
Originally Posted by CrαcK
pawn Code:
public OnPlayerConnect(playerid)
{
  new ip[16];
  new str[128];
  new playername[MAX_PLAYER_NAME];
  GetPlayerIp(playerid, ip, sizeof(ip));
  GetPlayerName(playerid, playername, sizeof(playername));
  format(str,sizeof(str),"ADMINWATCH: Player %s has connected to the server and %s is flagged",playername,ip);
  for(new i; i<MAX_PLAYERS; i++)
    if(IsPlayerAdmin(i)) SendClientMessage(i, COLOR_YELLOW, str);
}
FYI I have GF Platinum, and where do I add the IP's I want that to send for?
Reply


Messages In This Thread
Ip Log & Radar - by Jason_Larson - 19.03.2009, 07:19
Re: Ip Log & Radar - by CracK - 19.03.2009, 07:57
Re: Ip Log & Radar - by Jason_Larson - 19.03.2009, 08:24
Re: Ip Log & Radar - by [RP]Rav - 19.03.2009, 08:34
Re: Ip Log & Radar - by Jason_Larson - 23.03.2009, 15:32
Re: Ip Log & Radar - by Rks25 - 23.03.2009, 16:53
Re: Ip Log & Radar - by Jason_Larson - 23.03.2009, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)