Nem teszteltem
public OnPlayerConnect(playerid)
{
new string[128];
new playerip[128];
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerIp(playerid, playerip, sizeof(playerip);
format(string, sizeof(string), \"\"%s csatlakozott a szeverhez! Ország: HUN_Hungary, IP Adress: %s\", sendername, playerip);
SendClientMessageToAll(0xFFA500FF , string);
return 1;
}