Mike269 Posted February 5, 2015 Share Posted February 5, 2015 (edited) I already asked about 35135135 times how could I learn scripting and I never learned now I'm fu ck ing ready to do it and I want to learn it I need the best way to learn it any suggestions for begginers? thanks! Edited February 5, 2015 by Guest Link to comment
Dealman Posted February 5, 2015 Share Posted February 5, 2015 There is no "best way". People have different ways of learning and it is up to you to decide what you like the most. Personally, I like to learn via trial and error; it can and will be frustrating at times. But by doing this, you'll learn how to try to fix it yourself, rather than ask on a forum as soon as an issue arises. Start with a small project, get familiar with client-sided code and then take it from there. Start with outputting messages, play around with how elements and element data work Most importantly; Get used to navigating the MTA Wiki, being able to find functions or events to accomplish what you want is crucial. It may not sound like much of an advice, but this is how I started and got myself into scripting and programming. Link to comment
Mike269 Posted February 5, 2015 Author Share Posted February 5, 2015 well I already know how to change things likce color spawn position messages etc but I want to learn how can i do it by myself like spawn panel and gang system in rpg servers Link to comment
xeon17 Posted February 5, 2015 Share Posted February 5, 2015 I don't know , have you already saw this page. But it's a awesome page , which tell you everything what you need to know to learn scripting GUI's https://wiki.multitheftauto.com/wiki/In ... ng_the_GUI Link to comment
Mike269 Posted February 5, 2015 Author Share Posted February 5, 2015 Lol how many times more I will have to tell you that I can't just get it it's hard for me cuz I'm new I just don't understand those numbers and all that shit man.. Link to comment
xeon17 Posted February 5, 2015 Share Posted February 5, 2015 It's looks hard , but it's so easy just give it a try. Btw , use guieditor which make creation of GUI's so easy as possible. https://community.multitheftauto.com/in ... ils&id=141 Link to comment
Mike269 Posted February 5, 2015 Author Share Posted February 5, 2015 But I will still have to make buttons works right? Link to comment
xeon17 Posted February 5, 2015 Share Posted February 5, 2015 Of course , it's pretty easy. Accepted = guiCreateButton(100, 385, 133, 22, "ACCEPT", false) -- Creation of the button "Accepted" addEventHandler ("onClientGUIClick", getRootElement(), function() if source == Accepted then -- If the clicked button is Accepted then outputChatBox("Button Clicked") -- It output a message " Button Clicked " end end) This should make you know , how it work. If you have more questions , feel free to say Link to comment
Mike269 Posted February 5, 2015 Author Share Posted February 5, 2015 Oh my god your picture is right you're einstein do you have skype so I can ask you some things? Link to comment
xeon17 Posted February 5, 2015 Share Posted February 5, 2015 Ask here whatever you want , i don't have a skype for MTA ( only private ) 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