19.04.2014, 01:48
Title says all how can i make a randomizer that will choose a number 1000 through 10000 i am attempting to create a bank account number generator.
stock minrand(min, max) //By Alex "******" Cole
{
return random(max - min) + min;
}
//Use like..
new bankaccount;
bankaccount = minrand(1000,10000);
https://sampforum.blast.hk/showthread.php?tid=109196
You want: native MRandRange(min, max); // Get an integer in a specified range right? |