Posts: 53
Threads: 8
Joined: Jul 2017
Reputation:
0
I have seen a bunch of threads about "where do I start learning how to script", some say by scripting a DM or a freeroam gamemode because it's easier than an RP gm, or whatever it is.
The thing is that I have no interest in those types of gamemodes, I have been trying to read tutorials and such but some of them aren't good enough for me to understand, I'm just a beginner and sometimes any word can mislead.
furthermore, most of the topics are old and I would like to hear some new ideas or suggestions about this topic because I have been trying for a while and I'm just failing.
(I can edit gamemodes, I just can't write a command by myself...)
Thanks in advanced!
Posts: 205
Threads: 31
Joined: Aug 2015
Reputation:
0
The way I learned, and I believe the majority of good programmers learned, is by just taking a gamemode that's already been made and messing around with it. Read tutorials on here, use them often and eventually certain things will become second nature. Ask for help if you encounter a bug, don't just ask for the solution, ask for why it didn't work and what changed to make it work. And, biggest tip, DO NOT QUIT! The second you quit is the second that you'll have to start from ground zero. Keep trying, do not give up.
Posts: 3,004
Threads: 12
Joined: May 2011
Edit scripts in general.
This has been discussed dozens of times before and repeatedly the same solution won by majority -- edit scripts.
Take any script, compile it, test it, look how it is working.
Then go back to your code, read it, understand the flow of the code, try to change few things and see the output.
Continue this way until you think you can advance to other things like managing ini files and if it seems too easy then go straight to learn MySQL and how it is working.
In the meanwhile, you can test it all and develop a demo gamemode for yourself.
Heck, just play with it, you don't even need a practical one.
Posts: 53
Threads: 8
Joined: Jul 2017
Reputation:
0
Thank you guys, I will try to check more tutorials now.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by Kaperstone
Edit scripts in general.
This has been discussed dozens of times before and repeatedly the same solution won by majority -- edit scripts.
Take any script, compile it, test it, look how it is working.
Then go back to your code, read it, understand the flow of the code, try to change few things and see the output.
Continue this way until you think you can advance to other things like managing ini files and if it seems too easy then go straight to learn MySQL and how it is working.
In the meanwhile, you can test it all and develop a demo gamemode for yourself.
Heck, just play with it, you don't even need a practical one.
|
^^ This... Even trying to make useless scripts that just show you information from the script/server.
No matter how daft it is, it's still something, and it serves a purpose.
Posts: 53
Threads: 8
Joined: Jul 2017
Reputation:
0
Still hard though, I just don't know where to start from or what to edit.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by Ramboi
Still hard though, I just don't know where to start from or what to edit.
|
I ended up simply reading scripts for a few months, and looked over the tutorials, not just from here, but some random ones around the place.
And, no, not those 'how to script' ******* ones, actual reading pages of information laid out to form a tutorial.
The only thing that's hard, is getting the willpower to stay focused. A problem all coders/programmers/scripters encounter.
Posts: 578
Threads: 40
Joined: Dec 2016
Posts: 190
Threads: 28
Joined: Jun 2017
I will tell you about my story of learning scripting.
First, i don't know about scripting the last year, i know only playing.
I downloaded a gamemode from here (Exactly i downloaded Raven Roleplay) and after i opened it and play some bunch of minutes.
After that i opened the code to see it, i don't understand all that.
So i tried to find a guide, i downloaded the official pawn guide, it helped me in some things.
So i thinked about creating a demo TDM script.
i copied something, pasted something, make a bad one, remove something ,begin from 0, until i learned the basics of a_samp (Not all)
S i begin downloading includes, testing something and ansi de suite.
And hop, i'm a good scripter, know MySQL, Textdraw, INI, and much things.
Better, download gamemodes and try by yourself until you learn
And REMEMBER : don't learn when you are bored, learn from your heart, not for others, don't think about others, think about YOURSELF