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 "https://wiki.multitheftauto.com/index.php?title=Math&oldid=32507"
Category:
  • Scripting Concepts

Navigation menu

Views

  • Page
  • Discussion
  • View source
  • History

Personal tools

  • Create account
  • Log in

Navigation

  • Home
  • How you can help
  • Recent changes
  • Random page

reference

  • Client Functions
  • Client Events
  • Server Functions
  • Server Events
  • Shared Functions
  • Useful Functions
  • MTA Classes
  • MTA Elements
  • Element Tree

 

Tools

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

In other languages

  • Deutsch
GNU Free Documentation License 1.2
Powered by MediaWiki
  • This page was last edited on 21 August 2012, at 10:03.
  • Content is available under GNU Free Documentation License 1.2 unless otherwise noted.
  • Privacy policy
  • About Multi Theft Auto: Wiki
  • Disclaimers