Learn Scripting!
#1

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?
Reply
#2

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
Reply
#3

I went through c++ & c#, once I knew those 2 languages' basics, pawn was easy af
Reply
#4

Quote:
Originally Posted by iLearner
View Post
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++
Reply
#5

Start off with c++, and continue with c#
Reply
#6

Quote:
Originally Posted by iLearner
View Post
Start off with c++, and continue with c#
Alright, I'll totally do that!
Reply
#7

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.
Reply
#8

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.
Reply
#9

Quote:
Originally Posted by Vince
View Post
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)
Reply
#10

C++ is not that hard its fun if you get a grip on it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)