public OnPlayerConnect(playerid)
{
new string[64], pName[MAX_PLAYER_NAME];
new year,month,day,hour,minute,second;
getdate(year, month, day);
gettime(hour,minute,second);
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,\"[%d/%d/%d - %d:%d:%d]%s csatlakozott a szerverre!\",day,month,year,hour, minute, second, pName);
SendClientMessageToAll(0xFFFFFFAA,string);
return 1;
}
Parancsolj.