16.09.2008, 14:27
New better random system
Код:
forward RandNumb(minamount, maxamount); public RandNumb(minamount, maxamount) { new Total = minamount+(maxamount/minamount)+random(maxamount-minamount); if(Total < minamount) Total = minamount; if(Total > maxamount) Total = maxamount; return Total; }