17.09.2012, 10:19
pawn Код:
new szStr[ 128 ], pIP[ 16 ], pName[ MAX_PLAYER_NAME ];
GetPlayerName( playerid, pName, MAX_PLAYER_NAME );
GetPlayerIp( playerid, pIP, sizeof( pIP ) );
format( szStr, sizeof( szStr ), "{FF0000}[JOIN]: %s {FFFF00}|{800080}[ID]:%d {FFFF00}|{90EE90}[Country]: %s {FFFF00}| {FFFFFF}[IP]: %s ", pName, playerid, GetPlayerCountryName( playerid ), pIP );
SendClientMessageToAll( red, szStr );