05.08.2011, 14:59
PHP код:
public OnPlayerConnect(playerdid)
{
new name[MAX_PLAYER_NAME], string[128];
GetPlayerRPName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has joined the server!", name);
SendClientMessageToAll(-1, string);
return 1;
}