02.09.2012, 20:28
ill do the first 1
Код:
//Public OnPlayerConnect.
public OnPlayerConnect(playerid)
{
new pname[MAX_PLAYER_NAME], string[63 + MAX_PLAYER_NAME];
new ID; <<<<<<<<<<< This variable is not needed
// Server Related shit.
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s(%d) has joined the server.", pname, ID); // The variable ID should be playerid
SendClientMessageToAll(COLOR_CYAN, string);
return 1;
}

