Hello. Help me!
I was trying to use a random number in the script, but I could not.
local i = rand()
local i = random()
local i = math.rand()
local i = math_rand()
How can I use random numbers in a script?
I added the missing functionality in r8272.
srand(time()) // initialize random number generator
local bal = rand() // get random number
It uses the functions srand and rand from the standard C libraries.
Quote from: Dwachs on July 22, 2017, 02:28:42 PM
I added the missing functionality in r8272.
Thank you for your prompt response! ;D