02.01.2010, 20:17
pawn Код:
#define INTERVAL 360000
forward LottoStart();
//ONGAMEMODEINIT
SetTimer("LottoStart",INTERVAL,true);
//Public Function
public LottoStart(){
format(string, sizeof(string), "Lottery News: We have started the Lottery Election.");
OOCOff(COLOR_DBLUE, string);
new rand = random(80);
f(rand < 77) rand += 3;
Lotto(rand);
}