15.01.2017, 22:20
The "normal" RandomEx
should work for any number IF max > min and (max - min) <= cellmax
well if someone still thinks that -5 > -3 than he probably should add these if statments into his function
PHP код:
RandomEx(min, max) return random(max - min) + min;
well if someone still thinks that -5 > -3 than he probably should add these if statments into his function