Hero192 Posted June 23, 2015 Share Posted June 23, 2015 Hello everyone,im old player in MTA but im trying to learn Lua mta script so my questions are: 1)What's the differient between "Functions" and "Events" and what does the function do and what does the event do (if you guys have examples should be great). 2)Also,What's the differient between Client side and Server Side 3)Which programes should i learn like C/C++ or something will helps me in scripting ..etc im already had good skills in HTML i learnt that in School and if you have more informations / Guides that will helps me please advice me Link to comment
xXMADEXx Posted June 23, 2015 Share Posted June 23, 2015 Hello! 1. Functions are a default feature of Lua. They are made so that you can just write a piece (large or small) code only once, and just use the function name to call it rather than having to rewrite the code. If/when you learn other languages, you will find that they are similar to methods in object-oriented languages. 2. Client scripts run on the clients game and the server scripts run on server-end. Client scripts are used for thing such as drawing interfaces. Server scripts are use for things like saving information to a database. 3. Whoah, slow down! The first thing that you should do is simply learn and get practice with Lua. Definitely don't even attempt C/C++ because those languages are complex and rather difficult to learn. However, if you do want to learn other languages I would recommond that you check out C# (c-sharp), PHP or Java. Lua: viewtopic.php?f=148&t=40809 C#: https://msdn.microsoft.com/en-us/librar ... 97(v=vs.71).aspx PHP: http://php.net/manual/en/introduction.php Java: http://heather.cs.ucdavis.edu/~matloff/ ... Intro.html Good luck with learning Lua and any other languages that you try! Link to comment
Hero192 Posted June 23, 2015 Author Share Posted June 23, 2015 Thank you alot MADE you're helpful like always, if others want to share their informations and their advices with me please write them here 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