random
#2

Well if u think there are many ways....
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 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
Reply


Messages In This Thread
random - by iBots - 06.09.2014, 13:05
Re: random - by BroZeus - 06.09.2014, 13:42
Re: random - by Battlezone - 06.09.2014, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)