Learn Scripting! - 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)
+---- Forum: Discussion (
https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: Learn Scripting! (
/showthread.php?tid=627186)
Learn Scripting! -
xRespect - 24.01.2017
Where I can learn the PAWN language of coding and what kind of experience I should have? Should I lear first C++ or something or I can start with pawno?
Re: Learn Scripting! -
Eoussama - 24.01.2017
It's an independent language, but if you'd like, it won't hurt if you check out C or C++ to enhance your scripting logic
here are some good links:
https://wiki.alliedmods.net/Pawn_Tutorial
https://sampwiki.blast.hk/wiki/PAWN_for_Beginners
some useful videos
https://www.*******.com/channel/UCv-...GxYyOOVYwrfAdA
Re: Learn Scripting! - iLearner - 24.01.2017
I went through c++ & c#, once I knew those 2 languages' basics, pawn was easy af
Re: Learn Scripting! -
xRespect - 24.01.2017
Quote:
Originally Posted by iLearner
I went through c++ & c#, once I knew those 2 languages' basics, pawn was easy af
|
Oh alright. Currently I' learning HTML and CSS which are totally different languages, but when I finish them, I'll go through C# and then C++
Re: Learn Scripting! - iLearner - 24.01.2017
Start off with c++, and continue with c#
Re: Learn Scripting! -
xRespect - 24.01.2017
Quote:
Originally Posted by iLearner
Start off with c++, and continue with c#
|
Alright, I'll totally do that!
Re: Learn Scripting! -
Misiur - 24.01.2017
I don't think you need C++ and C# to learn pawn - it's closer to C with many restictions. As long as you know what arrays are, and learn about enums you basically can write better code than 75% of pawn community (from what I see in scripting help section).
https://sampforum.blast.hk/showthread.php?tid=318307 - this is a good tutorial for enums. Be wary of pawn limitations too, stuff like dynamic allocation (unless you're willing to use Y_Less's libraries which use black magic) is out of the equation.
Re: Learn Scripting! -
Vince - 24.01.2017
C++ is fucking complex when compared with Pawn. I taught myself how to Pawn (pun intended) but I simply can't get a grasp on C++. All these things about pointers and addresses are making my head explode. C# by comparison is a walk in the park. Visual Studio more or less writes the code for you because the IntelliSense is so well done.
Re: Learn Scripting! -
BiosMarcel - 25.01.2017
Quote:
Originally Posted by Vince
C++ is fucking complex when compared with Pawn. I taught myself how to Pawn (pun intended) but I simply can't get a grasp on C++. All these things about pointers and addresses are making my head explode. C# by comparison is a walk in the park. Visual Studio more or less writes the code for you because the IntelliSense is so well done.
|
I kind of agree about the c++ part, the pointers making everything annoying and if you are not careful you might do unwanted stuff
@OP If you want to learn, just start getting an idea of what you want to do, look at some basic tutorials and use the wiki , worked well for me. Just don't do C++ if you don't really plan on using it, but just learning it in case so you understand pawn. (ofc it is interessting though, since it is a low level language, i think)
Re: Learn Scripting! -
SyS - 25.01.2017
C++ is not that hard its fun if you get a grip on it.