SA-MP Forums Archive
Learn how to script/code - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Learn how to script/code (/showthread.php?tid=468331)



Learn how to script/code - Julius95 - 07.10.2013

So, which is the BEST way to learn how to script if you've never scripted before or coded anything... and want to make a own server. Or could it be too much to learn? Just wondering.


Re: Learn how to script/code - DanishHaq - 07.10.2013

Nothing's ever too much to learn, go and review some existing simple GM's and start off from there, use the SA-MP wiki and other sites to help you, check regularly on the tutorials section and check this topic too: https://sampforum.blast.hk/showthread.php?tid=360911 for a list of helpful tutorials.


Re: Learn how to script/code - bathushan - 07.10.2013

Quote:
Originally Posted by Julius95
Посмотреть сообщение
So, which is the BEST way to learn how to script if you've never scripted before or coded anything... and want to make a own server. Or could it be too much to learn? Just wondering.
I don't know what is the best way..,
But I learn like this ->
Just download and create a new script ( in Pawno ) lets say one stunt server.

Just think what you need, try to get help from samp wiki. Or just ****** it,
If you found any, DO NOT copy and paste!!!
Just write EVERY single line. Try to understand why it used for...
Eg lets say so...
You found a teleport cmd, from LS to SF, learn every single line, after it try to edit, if you get any errors, ask here here are thousand ppl who can/will help you,

Anyway just a tip, don't try to start with RP servers, they are just complicated,

Good luck


Re: Learn how to script/code - Julius95 - 09.10.2013

Quote:
Originally Posted by bathushan
Посмотреть сообщение
I don't know what is the best way..,
But I learn like this ->
Just download and create a new script ( in Pawno ) lets say one stunt server.

Just think what you need, try to get help from samp wiki. Or just ****** it,
If you found any, DO NOT copy and paste!!!
Just write EVERY single line. Try to understand why it used for...
Eg lets say so...
You found a teleport cmd, from LS to SF, learn every single line, after it try to edit, if you get any errors, ask here here are thousand ppl who can/will help you,

Anyway just a tip, don't try to start with RP servers, they are just complicated,

Good luck
Ok, I'm actually aiming for a stunt/race server


Re: Learn how to script/code - Konstantinos - 09.10.2013

Quote:
Originally Posted by Julius95
Посмотреть сообщение
So, which is the BEST way to learn how to script if you've never scripted before or coded anything... and want to make a own server. Or could it be too much to learn? Just wondering.
Honestly, I wouldn't advise you to run a server if you do not the basic first, just saying.

I learned by using:

https://sampwiki.blast.hk/ (Main SA-MP Wiki)
http://forum.sa-mp.com/forumdisplay.php?f=70 (tutorials)

And the two most important:

http://forum.sa-mp.com/index.php (The forum itself - using 'Search' button, creating threads etc)
https://www.******.com (Any error/warning or for whatever thing you want to know something - that's your friend!)

Have fun.


Re: Learn how to script/code - kbalor - 09.10.2013

My post maybe off topic but I just want to share. I learn a bit not from Tutorials or SA-MP wiki. I start learning from different kinds of gamemode or filterscript. What I suggest is to be curious and review them after. As bathushan DO NOT copy paste you will learn nothing I promise. Also start from the basic scripting.


Re: Learn how to script/code - Konstantinos - 09.10.2013

It's something I've read many times in threads about downloading gamemodes and check them about how they work etc. I've only downloaded 3 gamemodes from here (soccer, nfs and 1 more (I don't remember which)) and it doesn't help THAT much. Seriously, there are some gamemodes that are written with bad methods and that's something you shouldn't learn of them.