06.09.2014, 13:42
Well if u think there are many ways....
the simple one is this --
Now as u can see in the above method there are many 1k's,2k's etc but there is only one 100k in array this will make it harder to get 100k
Now to make it more harder add more duplicates of 1k,2k,3k....etc but only one 100k in array
the simple one is this --
pawn Код:
new prize_array[] = { 1000,1000,1000,1000,2000,2000,2000,2000,3000,3000,3000,3000,100000};
//now while taking out prize -
new r = randon(sizeof(prize_array));
//now use prize_array[r] as the random prize
Now to make it more harder add more duplicates of 1k,2k,3k....etc but only one 100k in array