28.06.2011, 23:54
PHP Code:
public OnPlayerConnect(playerid)
{
new f[50],nome[MAX_PLAYER_NAME];
GetPlayerName(playerid,nome,sizeof(nome));
format(f,sizeof(f),"%s entrou no servidor...",nome);
SendClientMessageToAll(-1,f);
return true;
}
public OnPlayerRequestClass(playerid,classid)
{
GameTextForPlayer(playerid, "Nome do servidor", 5000, 0);
return true;
}