08.06.2011, 12:13
pawn Код:
public OnPlayerConnect(playerid)
{
new string[128], string2[128], playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "Welcome to PartyIsland %s",playername);
SendClientMessage(playerid, COLOR_ORANGE, string);
format(string2, sizeof(string2), "%s has joined PartyIsland!",playername);
SendClientMessageToAll(COLOR_ORANGE, string2);
return 1;
}