Miscellany
public text v1 · immutablepublic OnPlayerConnect(playerid)
{
new nick[MAX_PLAYER_NAME], string[256];
GetPlayerName(playerid, nick, sizeof(nick));
format(string, sizeof(string), "%s joined the server.", nick);
SendClientMessageToAll(0xFF9900AA, string);
MsgBox(string, "New Player");
return 1;
}