Math

From Multi Theft Auto: Wiki
Revision as of 12:01, 11 April 2009 by Winky (talk | contribs) (New page: Lua has buildin math functions, that you can use in scripts. <syntaxhighlight lang="lua"> math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.cosh math.deg math.exp...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lua has buildin math functions, 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  
math.ldexp 
math.log  
math.log10 
math.max
math.min   
math.modf  
math.pi    
math.pow  
math.rad   
math.random
math.randomseed       
math.sin   
math.sinh 
math.sqrt  
math.tanh
math.tan

See Also