17.06.2011, 13:39
the pastebin page is empty. anyways...
at each lottery draw, it needs the array cleared indeed:
Код:
new LottoNumberChosen[MAX_LOTTO_NUMBERS];
Код:
OnPlayerPickLottoNumber(playerid,number) { if(LottoNumberChosen[number]==0) { LottoNumberChosen[number]=1; } }
Код:
for(new n=0;n<MAX_LOTTO_NUMBERS;n++) { LottoNumberChosen[n]=0; }