[Ajuda] ● problema
#7

Quote:
Originally Posted by Gabriel Santana
View Post
pawn Code:
// Nome do Servidor Randanomico:
new countwo = 0;
forward NomeServer();
new ServidorNome[2][158] = { // [5] й o nъmero de mensagens.
"NOME DO SEU SERVIDOR",
"FRASE QUE VOCE QUER"
};
e em gamemode init:
pawn Code:
SetTimer("NomeServer",750,1);
Nгo й bem isso mais vai ajudar.
- Coloque embaixo das #defines!

Para isto, usa-se isto:

pawn Code:
new nomes [] [] = {
   "hostname Bruno",
   "hostname  Fez ",
   "hostname  Isto"
};

public OnGameModeInit() {

   SetTimer("mudarNome", 1000, true);

   return 1;
}

forward mudarNome();
public mudarNome() {

  SendRconCommand(nomes [random (sizeof nomes) ] );

  return true;
}


Dъvida
Tente colocar
PHP Code:
SendRconCommand("hostname • Ola Amigo •"
Mas nгo sei se funciona. Atй porque quando usas
pawn Code:
print(#•);
Ele apita
Reply


Messages In This Thread
● problema - by Netinho_the_killer - 21.08.2012, 17:46
Re: ● problema - by Netinho_the_killer - 21.08.2012, 18:01
Re: ● problema - by Delay - 21.08.2012, 18:20
Re: ● problema - by Netinho_the_killer - 21.08.2012, 19:43
Re: ● problema - by Gabriel Santana - 21.08.2012, 23:34
Re: ● problema - by GhosT_[] - 21.08.2012, 23:48
Re: ● problema - by ipsBruno - 22.08.2012, 00:04
Re: ● problema - by Netinho_the_killer - 22.08.2012, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)