dashe123 Posted July 28, 2011 Share Posted July 28, 2011 Greets. I want to learn LUA language by myself but I can't understand a thing. I read MTA Wiki a lot but all I can do is write a simple script using an example. I want to learn make scripts without any help or examples. How do I start scripting without anyone helping? Tips? HELP!?!?? Link to comment
#Paper Posted July 28, 2011 Share Posted July 28, 2011 I started learning lua modifying the race_starter_pack, i started to modify the strings: label names, outputchatboxs and etc, then i read the wiki and i started to make my own scripts Link to comment
bandi94 Posted July 28, 2011 Share Posted July 28, 2011 I started learning LUA whit wiki +some very easy scripts and opening some downloaded script ( but i have 4 year's exp in C++) you will learn a litel harder try to make some easy scripts and opening some scripts and see how its maked Link to comment
Unknown76 Posted July 28, 2011 Share Posted July 28, 2011 Begin with simple scripts from wiki and try to make them more complicated, you have to get familiar with MTA functions. Start your own gamemode (RPG/Deathmatch), don't start with complicated gamemodes with SQLite/MySQL because you need the base. (somebody will tell you to read LUA ebooks... don't read every page because you lose time... read about syntax, operators , conditional structures (if...else then, switch...case1...case2...default), repetitive structures(do...while, while...do, for...do). What I mean is that you have to learn the BASIC of programming languages but you should stick to LUA syntax... don't get c++ books to learn about these structures. Link to comment
zerb Posted July 28, 2011 Share Posted July 28, 2011 If you use the search panel in the top right hand corner using the keyword “tutorials” you might come across with some useful tips. I know in the past fellow players have wrote little tutorials which have certainly helped beginners. Don’t hesitate to post your problems on the forum though. Or, if you have IRC installed, visit the #mta.scripting channel for any help. Link to comment
NotAvailable Posted July 29, 2011 Share Posted July 29, 2011 I started with a /help command. When 'someone' types it. it outputs in the chatbox: "Hello ..playerName.."!" (eg. "Hello Jesseunit!") Then i started making the code more advanced, Amin only > GUI > Editable text w/ GUI window > etc, etc, 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