Infamous Posted May 26, 2011 Share Posted May 26, 2011 Hello MTA commuity. I am switching over to MTA from SA-MP and looking to learn the basics of LUA scripting. If anyone could point me in the right direction I would be very grateful. Thanks for taking the time to read this. Edit: I think this topic may be in the wrong section, if it could be moved it would be appreciated. Link to comment
karlis Posted May 26, 2011 Share Posted May 26, 2011 hey, check these, this is from what i learned LUA http://www.lua.org/pil/index.html http://lua-users.org/wiki/TutorialDirectory https://wiki.multitheftauto.com/wiki/Scr ... troduction http://www.lua.org/manual/5.1/#index https://wiki.multitheftauto.com/ good luck! Link to comment
Arran Posted May 26, 2011 Share Posted May 26, 2011 Its Lua not LUA because Lua doesn't stand for anything, its portugese for moon. The first two links above are the place to start and learn Lua, then when you have a good understanding move onto the MTA side of things. Link to comment
Infamous Posted May 26, 2011 Author Share Posted May 26, 2011 Thanks guys this will really help. Link to comment
diegofkda Posted May 26, 2011 Share Posted May 26, 2011 The correct section would be Scripting, but well, there are many people posting things like "HELP MY SCRIPT NOT WORKING", so I think this is a better section for post things like this, but if your script isn't working you can go to the Scripting section Link to comment
zerb Posted May 27, 2011 Share Posted May 27, 2011 We also have a dedicated channel with GTANET on IRC where you can speak out if you need some help also. Although, perhaps the forum is the quickest place for an answer! Link to comment
Infamous Posted May 27, 2011 Author Share Posted May 27, 2011 Thank you for the replies everyone, hopefully I will get up to speed with this differant way of scripting fairly quick. @ Z3RB1AN - That's good to know, also thanks for moving my topic to the correct board. Link to comment
Feche1320 Posted May 27, 2011 Share Posted May 27, 2011 Hey, I was like you, I switched from SAMP to MTA.. Use the Wiki at all times, it really helps you out alot, that's how I did practically understand everything from LUA. Anyways, knowing PAWN it will make you some things easier, so don't waste that knowlodge. If Wiki couldn't help you, the forum is the best choice then, and always try to make your own scripts. If you need some help, feel free to ask! Good luck! Link to comment
Unknown76 Posted May 28, 2011 Share Posted May 28, 2011 Make your own gamemode/resource, the fastest way, it doesn't need to be very complex... let's just say that you want to make bus driver missions around los santos placing markers and stations all around the map. How do you start? Take a look on wiki.multitheftauto.com, make a list of what you need (markers functions/events, money functions/elements, etc)... and learn from examples and if it gives you errors don't stop, try to make it work or if the resource is totally a fail, remake it... learn from your mistakes. If you don't understand something feel free to post on forums. 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