waqaarali Posted May 17, 2014 Share Posted May 17, 2014 Well first can someone answer my questions thanks, 1) How can i like connect client.lua and server.lua, for example if i make a job like taxi and i have team etc on server-side and gui (( Take Job Button etc. )) on client-side how can i make this work so if i press the button it will set me to the team? 2) What's the different between "source" and/or "player" or "thePlayer"? Ok now some tips, 3) Does "==" mean equal and "~=" doesn't equal? 4) I can make some basic things how can i get even more advanced? 5) If i like want to start on a roleplay project from scratch involving sql and database stuff how/ where do i start? 6) I saw some roleplay scripts that have, export.?? which is connected to a Database how can i make scripts like that, or if there are any TUT's please give me links? Thank you guys and members on MTA SA. I really appreciate your help. Link to comment
.:HyPeX:. Posted May 17, 2014 Share Posted May 17, 2014 About the 1), you should read a bit more the introduction to scripting, it explains this pretty much. 2) They're variables, you should know what a variable is in lua, or just search some lua tutorials in the internet for this. 3) They're comparisons: >= Equal or bigger than <= Equal or smaller than == Equal to > Bigger than < Smaller than About tuts, there's a sub forum. viewforum.php?f=148 Link to comment
waqaarali Posted May 17, 2014 Author Share Posted May 17, 2014 I can't seem to find the answer to 1.), and question 5.) to 6.) there are no TUT's on making roleplay scripts. Link to comment
Karuzo Posted May 17, 2014 Share Posted May 17, 2014 You should really read these pages before you start scripting. https://wiki.multitheftauto.com/wiki/Sc ... troduction http://www.lua.org/pil/contents.html 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