DarkLink Posted May 31, 2011 Share Posted May 31, 2011 Hello everybody, I'm a big fan of your mod to gta for so long, more or less since 2007/08. At the time I was 15 and knew very little of programming, however I made my own server using scripts from other experienced players, such as 50p. He helped me a lot on my server! Thank fifty (dont know if u still around here) Today, I'm in college and have learned to program Java. My final question is: is it very difficult to join lua? Java for LUA .. different? similar? Is it easy? like java? or not? I would also like to know where to start. Thanks alot guys Please reply me . PS: Sorry about my bad english, i am portuguese Link to comment
0 Castillo Posted May 31, 2011 Share Posted May 31, 2011 I have no idea if Java and Lua are similar, but if you give it time you'll get it easy after all, also, you can get examples from the MTA wiki (wiki.multitheftauto.com), here are two introductions. https://wiki.multitheftauto.com/wiki/Scr ... troduction https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI Good luck Link to comment
0 DarkLink Posted May 31, 2011 Author Share Posted May 31, 2011 hm ok thanks bro i will give it a look Link to comment
0 Arran Posted May 31, 2011 Share Posted May 31, 2011 Lua is easier than Java, lua is a simple scripting language. Java is said to be similar to C and C++, and C++ is used to program MTA itself. Link to comment
0 DarkLink Posted May 31, 2011 Author Share Posted May 31, 2011 hmmm, so i just need to know Lua Scripting to do a gamemode for mta server? and btw the java/c++ part is just for mta developer ? we users dont use it ? thanks Link to comment
0 Callum Posted June 1, 2011 Share Posted June 1, 2011 As a server developer/scripter, you only need to have an understanding of the lua scripting language. However, if you are interested in committing patches to MTA itself, you have to know C++. And I believe Java is similar to C#. Link to comment
0 DarkLink Posted June 1, 2011 Author Share Posted June 1, 2011 Okay callum, thanks for ur help guys I will start doing things with lua tomorrow, wanna do something ty Link to comment
0 diegofkda Posted June 1, 2011 Share Posted June 1, 2011 By the way, always you need help, you can post your scripting problems in Scripting section Link to comment
0 karlis Posted June 1, 2011 Share Posted June 1, 2011 hello, this might help you viewtopic.php?f=91&t=33383 regards, karlis Link to comment
0 DarkLink Posted June 1, 2011 Author Share Posted June 1, 2011 guys how can I control the amount of markers ? I mean i have my gamemode, and when people go on map editor and load settings of that gamemode, there must be a setting that dont allow more than two markers. is that on meta.xml doing , its a Lua script? thanks. EDIT: For example when we do a map for CTF, we load config on map editor of CTF and then? how we put flags? manual? like random object, get x,y,z and then put on script? There aren't automatic script for CTF, that when u are doing map, it only gives u 2 flags two put? TY Link to comment
0 ryden Posted June 2, 2011 Share Posted June 2, 2011 You can implement server-side resources using Java if you do a wrapper module for MTA (I did this to support server-side resources written in PHP, and arc_ did it for Pawn). But you will need to use Lua for client-side resources, as you don't have support for client-side modules. Link to comment
0 DarkLink Posted June 2, 2011 Author Share Posted June 2, 2011 How should I start to do that? is there somekind of documentation? ty Link to comment
0 MCvarial Posted June 2, 2011 Share Posted June 2, 2011 https://wiki.multitheftauto.com/wiki/Modules Link to comment
Question
DarkLink
Hello everybody, I'm a big fan of your mod to gta for so long, more or less since 2007/08.
At the time I was 15 and knew very little of programming, however I made my own server using scripts from other experienced players, such as 50p.
He helped me a lot on my server! Thank fifty (dont know if u still around here)
Today, I'm in college and have learned to program Java.
My final question is: is it very difficult to join lua? Java for LUA .. different? similar?
Is it easy? like java? or not?
I would also like to know where to start.
Thanks alot guys
Please reply me .
PS: Sorry about my bad english, i am portuguese
Link to comment
14 answers to this question
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