MTA SA Scripting Tutorial 1: The Basics

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
166 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 6, 2012

--First we are making a little script which gives the player 100 dollar as soon as he types a command
--This could be done server and client side. You have to type the the script over or try to make it yourself after watching the video.

--Things to remember:
--Never use spaces or things like $*(%&@ in your script names, files or folders. Some of them will give errors.
--Server events or functions cant be used in client lua's and vice versa. You do have some events and functions which are both client and server sided.
--ALWAYS backup every 10 savings or test from your script, it happens you lose your script, delete, rewrite whatever. Just do :P

--Now put the server sided function in the server lua, the client sided function in the client lua and the meta stuff in the meta.xml

--Links:
Notepad++: http://www.notepad-plus-plus.org/download/v5.9.8.html
The entire tutorial: http://pastebin.com/m1Bj5v3a
MTA SA: http://www.mtasa.com/

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • @haws1290 Ye, i did :P

  • lol u put JB in tag so this would come up :P

  • The vid is totally fucked up except for the testing part which starts at 00:30. Its very useful if you can read it....

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more