Math

From Multi Theft Auto: Wiki

Jump to: navigation, search

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

  • math.abs
  • math.acos
  • math.asin
  • math.atan
  • math.atan2
  • math.ceil
  • math.cos
  • math.cosh
  • math.deg
  • math.exp
  • math.floor
  • math.fmod
  • math.frexp
  • math.huge (constant)
  • math.ldexp
  • math.log
  • math.log10
  • math.max
  • math.min
  • math.modf
  • math.pi (constant)
  • math.pow
  • math.rad
  • math.random
  • math.randomseed
  • math.sin
  • math.sinh
  • math.sqrt
  • math.tanh
  • math.tan

See Also

  • Math examples on the LUA Wiki
Retrieved from "http://wiki.multitheftauto.com/wiki/Math"
Category: Scripting Concepts
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account with OpenID
home | irc chat | community | forum | wiki | bugs | heroes | hosting
Navigation
  • Home
  • How you can help
  • Recent changes
  • Random page
reference
  • Client Functions
  • Client Events
  • Server Functions
  • Server Events
  • MTA Classes
  • MTA Elements
  • Element Tree
 
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
Powered by MediaWiki
GNU Free Documentation License 1.2
  • This page was last modified on 11 April 2012, at 15:23.
  • This page has been accessed 2,294 times.
  • Content is available under GNU Free Documentation License 1.2.
  • Privacy policy
  • About Multi Theft Auto: Wiki
  • Disclaimers