public OnPlayerConnect(playerid)
{
new Name[MAX_PLAYER_NAME], IP[20], string[128];
GetPlayerName(playerid, Name, sizeof(Name));
GetPlayerIp(playerid, IP, sizeof(IP));
format(string, sizeof(string), \"%s [%d] csatlakozott a szerverre [iP címe: %s]\", Name, playerid, IP);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(i)) return SendClientMessage(i, 0xFFAAAAAA, string);
}
return 1;
}