07.06.2015, 09:26
Code:
public OnPlayerConnect(playerid) { new astr[120], aname[MAX_PLAYER_NAME]; if(pInfo[playerid][pAdmin] > 0) // Change with own var { GetPlayerName(playerid,aname,sizeof(aname)); format(astr, sizeof(astr), "* Administrator %s has joined the server", aname); SendClientMessageToAll(COLOR_DEADCONNECT, astr); } return 1; }