Jump to content

Need some MTA Scripting Tips/Help!! QUICK :/


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...