16.02.2014, 21:05
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);
}