06.02.2010, 15:03
pawn Код:
public OnPlayerConnect(playerid)
{
new string[128],
name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name);
format(string,sizeof(string),"<%s> <%d> has joined the server",name,playerid);
SendClientMessageToAll(0xFFFFFFFF,string);
SendClientMessage(playerid,0xFFFFFFAA,"Welcome to the server!");
return 1;
}