Ajuda Name Random!
#3

pawn Код:
new RandomServerName[][] = // Nomes Server Random
{
    //Te faltaron los { }
    {"Nome do server 1"},
    {"Nome do server 2"},
    {"Nome do server 3"},
    {"Nome do server 4"}
};


SetTimer("SendMSG", 1000, true);//OnGameModeInit

forward SendMSG();
public SendMSG()
{
    new string[144];
    new randMSG = random(sizeof(RandomServerName));
    format(string,sizeof(string),"hostname %s", RandomServerName[randMSG]);
    SendRconCommand(string);
}
Reply


Messages In This Thread
Ajuda Name Random! - by OrNot - 16.02.2014, 20:37
Respuesta: Ajuda Name Random! - by Porta0123 - 16.02.2014, 21:01
Respuesta: Ajuda Name Random! - by hotspicytaco - 16.02.2014, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)