25.03.2011, 22:41
under OnPlayerConnect :
Код:
new pName[MAX_PLAYER_NAME],pIP[16]; GetPlayerIp(playerid,pIP,16); GetPlayerName(playerid,pName,MAX_PLAYER_NAME); new string[128]; format(string,sizeof(string),"%s Joined The Server (Ip : %d)",pName,pIP); SendClientMessageToAll(COLOR_RED,string);