Jump to content

math.random


Recommended Posts

math.random generates a pseudo-random number based on a seed, which just in case you can change by calling math.randomseed, in a specified range. There's no single use for it.

Yep. It also works for functions, tables etc.

Link to comment
You can use math.random from picking up any number, variables, tables or any random thing and here is usage >
math.random ( randomFrom, randomTo ) 

it will pick up any variable, number, table from what u wrote.

Got it , thanks a lot

Why were you replying than Fady-Jo ?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...