28.06.2016, 17:09
Instead of using randomex try this raw method(im not sure if it will work but you can try)
PHP Code:
srandom(a,b)
{
if(a>b)
{
return random(a-b+1)+b;
}
return random(b-a+1)+a;
}