TUTORIAL MENSAGEM AO CONECTAR
PRIMEIRO TUTORIAL QUE FAÇO
[FICARA ASSIM
Primeiro vamos crair uma
- Código:
#define LARANJA 0xFF8204FF//TOPO DO GAME MODE
Crie uma uma pública caso não tenha
Dentro da
PHP como:Dentro da
- Código:
public OnPlayerConnect(playerid)
bote o codigo que esta em baixo
PHP como:- Código:
new string[150], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"[INFO] - o jogador %s Entrou no servidor para tocar o terror ",pName);
SendClientMessageToAll(LARANJA,string);
Caso não entenda isso
PHP como:- Código:
public OnPlayerConnect(playerid)
{
new string[150], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"[INFO] - o jogador %s Entrou no servidor para tocar o terror ",pName);
SendClientMessageToAll(LARANJA,string);
return 1;
}
Creditos: SokiN