Duwenbasden
Ver 6 CREATE energy AS SELECT * FROM u.energy
- Reaction score
- 165
Did you understand what I said? You cannot compare equality between two real numbers. As soon as it is type Real == any number type, it will never work.
Instead of that, use this (you have no choice):
Real uses more memory too.
Code:
local real Random_Number = GetRandomReal(1.00, 3.00)
Instead of that, use this (you have no choice):
Code:
local integer Random_Number = GetRandomInt(1, 3)
if Random_Number == 3 then
//...
Real uses more memory too.