Math

From Multi Theft Auto: Wiki
Revision as of 07:49, 8 June 2024 by Srslyyyy (talk | contribs) (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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