Random factor not working.

Arkan

Nobody rides for free
Reaction score
92
JASS:
local real rr = 308*(1+(GetRandomInt(0,300)/10000))
call BJDebugMsg(R2S(rr))


This ALWAYS shows 308.000
I don't get it? there should be a 3% deviation...

Just realised maybe I should use a I2R, I'm stupid.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top