07.04.2017, 09:59
Why did you define "LEAST_NUMBER" if you aren't using it?
Why did you generate the random number like this:
So first you take your LARGEST number, and then you add something else to it, making it even larger.
Also, random(LARGEST - LARGEST) = random(0), something you shouldn't do. See https://sampwiki.blast.hk/wiki/Random
Why did you generate the random number like this:
Code:
NUMBER = LARGEST_NUMBER + random( LARGEST_NUMBER-LARGEST_NUMBER );
Also, random(LARGEST - LARGEST) = random(0), something you shouldn't do. See https://sampwiki.blast.hk/wiki/Random