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?