02.02.2011, 18:52
pawn Код:
stock pName(iPlayer)
{
new
iName[MAX_PLAYER_NAME];
GetPlayerName(iPlayer, iName, sizeof(iName));
return iName;
}
public OnPlayerConnect(playerid)
{
new
iStr[60];
format(iStr, sizeof(iStr), "* %s has joined the server.", pName(playerid));
SendClientMessage(playerid, 0xAAAAAAA, iStr);
return 1;
}