Machete Posted May 8, 2013 Posted May 8, 2013 Where can i use semicolon ( ; )? I think all of you know what's the usage of semicolon, although i'll post an example. if x==2 then return true; else return false; end end I am a begginer in MTA scripting, so i have got lots of question, i am here for your help Thanks in advance.
Castillo Posted May 8, 2013 Posted May 8, 2013 As far as I know, is not used for anything, some scripters use it because they use it on other programming languages. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Metall Posted May 9, 2013 Posted May 9, 2013 Well, the semi-column is used for ending a sentance of code like: g.fillRect(0, 0, 100, 100); That's Java, but that's atleast how i use them, they also exist in the most other programming languages. In Lua you won't have to use them, unless it makes it easier for you. AnyMoreProblemsThenPostHere();
xXMADEXx Posted May 9, 2013 Posted May 9, 2013 Just in case you don't understand... They're not needed in LUA. The Ultimate Lua Tutorial! | MTA PHP SDK
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