Math

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Math is a built-in Lua library which contains mathematical functions and constants that you can use in scripts.

Do this beforehand to improve randomness:

math.randomseed(os.time())

See Also