Hi guys. As we all know, we have some great scripter's in our community. But take one look at the "accepted" suggestions board, and it is clear we could always use more. The goal of this thread is to help spread knowledge. Where did our scripter's start? How did they first get into scripting? Do they know of any good resources for people who want to start to learn how to script, but are unsure of how?
Scripting for beginners
Started by greenops011 · Feb 22, 2017 at 8:36 AM
The true way to learn to script is to fiddle with community scripts to see how they work, then try creating basic things from the examples on the mta wiki
benis
Yeah. I have read some scripts. And yeah that is how you get the BASICS. This far I can understand how a script works and I can tell you from reading it. But cant script anything cuz im a dum dum

Spoiler

Yeah. I have read some scripts. And yeah that is how you get the BASICS. This far I can understand how a script works and I can tell you from reading it. But cant script anything cuz im a dum dum
Just like the rest of us
benis
No one is incapable of learning how to script, you're either uninterested or too lazy. I've found my way to scripting few years ago, back in time when Fusionz was scripting. I was admiring his work and it motivated me so hard I started learning how to script by myself. All you need is time and will, everything else is easy to find.
MTA Scripting: https://wiki.multitheftauto.com/wiki/Main_Page
MTA Scripting - Basics: https://wiki.multitheftauto.com/wiki/Scripting_Introduction
Lua in general: https://www.lua.org/start.html
Learning Lua: https://youtu.be/S4eNl1rA1Ns OR https://youtu.be/iMacxZQMPXs
Lua online book: https://www.lua.org/pil/contents.html
If you go through all of these I assure you that you'll be able to script smaller things. However, theory is theory and you only learn a piece from there, going through scripts yourself and making them is the way to go, where you'll learn new ways of coding, tricks, etcetera. Good luck :)
MTA Scripting: https://wiki.multitheftauto.com/wiki/Main_Page
MTA Scripting - Basics: https://wiki.multitheftauto.com/wiki/Scripting_Introduction
Lua in general: https://www.lua.org/start.html
Learning Lua: https://youtu.be/S4eNl1rA1Ns OR https://youtu.be/iMacxZQMPXs
Lua online book: https://www.lua.org/pil/contents.html
If you go through all of these I assure you that you'll be able to script smaller things. However, theory is theory and you only learn a piece from there, going through scripts yourself and making them is the way to go, where you'll learn new ways of coding, tricks, etcetera. Good luck :)
Spoiler
The Dinapoli Family
2012-2015
Your weekly report count is: 336

Thanks to DrJoseEvil for this lovely painting.
2012-2015
Your weekly report count is: 336
Spoiler

Thanks to DrJoseEvil for this lovely painting.
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
lol
Spoiler
If anyone here is interested in scripting in general, i'd say start off on easy scale. Here are some fiew good Youtube channel on HTML & C++.
Channel: https://www.youtube.com/channel/UCVqnFFhb07phBdva71Abatg
I can assure you if, you ya'll interested in LUA you have to learn basics first. =)
Channel: https://www.youtube.com/channel/UCVqnFFhb07phBdva71Abatg
I can assure you if, you ya'll interested in LUA you have to learn basics first. =)
Last edited Feb 22, 2017

The main reason most people don't script, is because it takes time and effort. It takes a lot of time just to understand it, then you have to worry about actually doing it.
DISCORD
Bilbo#5310
MTA:RP ACCOUNT
matthewsmith171617
SKYPE
Move on. Its been ages.

Bilbo#5310
MTA:RP ACCOUNT
matthewsmith171617
SKYPE
Move on. Its been ages.

Scripting for me was just creating things out of my imagination and learning how to do that using the MTA wiki and reading over functions. I already know how to code in JAVA, PHP and HTML just by certifications I took while I was in high school.
This right here is your best friend..
https://wiki.multitheftauto.com/wiki/Main_Page
This right here is your best friend..
https://wiki.multitheftauto.com/wiki/Main_Page

Everyone is told to go look at the Wiki when they ask how to learn scripting, but for me.. that's complete bullshit. Go download Basicrp, the most easy and basic RP script that does not use MySQL. Learn how to set yourself to admin to begin with, then edit color codes, explore the script and if you make a mistake? CTRL + Z does the trick.
Once you are are used to how that works, then use the wiki as a reference, but not an E-Teacher.
This is is how I learned and I hope it helps all of you that are curious.
Once you are are used to how that works, then use the wiki as a reference, but not an E-Teacher.
This is is how I learned and I hope it helps all of you that are curious.

Somebody once told me the world is gonna script me
I ain't the sharpest scripter in the shed
She was looking kind of dumb with her LUA and C++
In the shape of an "file" on her harddrive
I ain't the sharpest scripter in the shed
She was looking kind of dumb with her LUA and C++
In the shape of an "file" on her harddrive
benis
Everyone is told to go look at the Wiki when they ask how to learn scripting, but for me.. that's complete bullshit. Go download Basicrp, the most easy and basic RP script that does not use MySQL. Learn how to set yourself to admin to begin with, then edit color codes, explore the script and if you make a mistake? CTRL + Z does the trick.
Once you are are used to how that works, then use the wiki as a reference, but not an E-Teacher.
This is is how I learned and I hope it helps all of you that are curious.
is it safe to assume that "Basicrp" is not compiled, (i.e. no code scrambling or encryption). this is a common issue i have found while trying to learn from others scripts. the code is protected so even if I wanted to just look at the code, I can't
is it safe to assume that "Basicrp" is not compiled, (i.e. no code scrambling or encryption). this is a common issue i have found while trying to learn from others scripts. the code is protected so even if I wanted to just look at the code, I can't
People compile their scripts to prevent people from "stealing" their scripts (even though, it acts a security measure, thats not what it was made for), so people can use them or copy/edit them.
benis
is it safe to assume that "Basicrp" is not compiled, (i.e. no code scrambling or encryption). this is a common issue i have found while trying to learn from others scripts. the code is protected so even if I wanted to just look at the code, I can't
Correct, basicrp is not compiled.

Correct, basicrp is not compiled.
I've looked everywhere for the basicrp resource, but it seems Socialz deleted it. Do you happen to still have your original, unedited copy?