LibTrueRandom-1.0

API

  • 1 page found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
LibTrueRandom-1.0 ckknight ckknight Jan 14, 2011
LibTrueRandom.GetRandom(minimum, maximum, callback) Asychronously send a random request to the server and call the provided callback when the result is returned. Parameters minimum The minimum number. Must be at least 1 and must be an integer. maximum The maximum number. Must be greater than the minimum, no greater than 1000000, and must be an integer. callback A function to call when the result is known. Usage LibTrueRandom.GetRandom(1, 10, function(value) print("Got random: " .. value) end)
  • 1 page found