ItsMods

Full Version: Give Diffrent Random Numbers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how much is level.weaponpartspawn blabla?
The first index in an array is 0, so adjust your 'for' loops accordingly. Try it, if it doesn't work, do a desk check.
Code:
while( var1 == var5 )
    var5 = randomInt( 3240204240 );
(08-23-2011, 13:13)iAegle Wrote: [ -> ]
Code:
while( var1 == var5 )
    var5 = randomInt( 3240204240 );

For example i want to create 8 random numbers. but in the end nooneshould be the same. so

Code:
while(var1 == var5)

wouldnt work