Check random problem
#3

Quote:
Originally Posted by Chipardeur
Посмотреть сообщение
One condition by line.
Use something like: if(rand1 == 0 || rand1 == 1 || rand1 == 2)
etc..
As Chipardeur said, but I'd go about it another way such as using && with the three choices and random potabilities.
Reply


Messages In This Thread
Check random problem - by cnoopers - 30.11.2014, 22:06
Re : Check random problem - by Chipardeur - 30.11.2014, 23:09
Re: Re : Check random problem - by zT KiNgKoNg - 30.11.2014, 23:46
Re: Check random problem - by Threshold - 01.12.2014, 01:23
Re: Check random problem - by cnoopers - 01.12.2014, 13:42

Forum Jump:


Users browsing this thread: 1 Guest(s)