undefined Posted May 9, 2014 Share Posted May 9, 2014 (edited) Hi guys. I have a question. What is the "tonumber, string, math.floor, pairs, until" and "_," for example local _, splash = ...? Edited May 10, 2014 by Guest Link to comment
xXMADEXx Posted May 9, 2014 Share Posted May 9, 2014 Strings: https://wiki.multitheftauto.com/wiki/String Loops: http://www.lua.org/pil/4.3.4.html Math: https://wiki.multitheftauto.com/wiki/Math Link to comment
arezu Posted May 9, 2014 Share Posted May 9, 2014 tonumber: changes a string that contains a number into a number, so that it can be used mathematically. math.floor: rounds down a number to nearest integer, in other words, 5.5 becomes 5.0, 5.9 does as well and 5.1 too. _: underscore is used sometimes when there is a function that returns many values, but you dont care about the first values, and you want a value after the underscore. Link to comment
undefined Posted May 10, 2014 Author Share Posted May 10, 2014 Oh thank you xXMADEXx and arezu. It's solved... Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now