How you became goos scripters ?
#1

Hey guys , i'm wondering how you became good scripters , i see many of them , if you could share what to do, for me ; this is what i'm doing:
Learn on wiki
Learn on *******
Dobwload a Gamemode and revise and look how it works inside of it

that's all for me , and i hope in the future i'll be able to make amazing scripts with good featuers etc..
Reply
#2

It's all about understanding the basic concept how programing/scripting works. Once you've got that, everything is quite easier.
Reply
#3

yeah , but when i see the scripting lines i'm like WTF! it's too long with too many lines !
Reply
#4

Remember, you can also make stuff with work more efficiency with less lines of code.
Reply
#5

Once you learn Pawno a lot of things are pretty easy.
Reply
#6

If the gamemode looks too complex, try to check another one. If you just started I recommend the gamemodes that come with the standard samp server. LVDM was the gamemode I started with years ago, if I remember correctly. Add some small features or cmds like teleports to get used to the syntax of pawn (the "grammar"), so you can understand more complex gamemodes.

The things you listed are already the best things to learn in my opinion. Other things that helped me were just interest, maybe school a bit (for general coding techniques, we didnt script pawn ). University during the last months didnt really affect my pawn skills, if it changed anything it was my style and view on scripting problems.

So just start it relaxed with reading and simple codes and you will improve with the time. If you stay active you can speak PAWN fluently in some months
Reply
#7

You become good by putting in the time and effort. It is really that simple. The more time you put into learning about things you dont understand, the better you will get. There are tons of resources available when it comes to learning PAWN, if you're smart you'd utilize them.

The Wiki
The language guide

and of course most importantly this forum!
Reply
#8

Start at the wiki. Use what you know and make simple scripts. Keep making them and keep practicing and you will find yourself learning more as you script more.
Reply
#9

I'm kind of upset that people posted saying you should start by opening a game mode file or going onto the wiki. That's like saying you should open up a new product and try to use it without understanding the basics of it that come in the instruction manual.

Start off with the Pawn Language Guide, like Kyosaur suggested. That will give you a introduction and basic understanding to the Pawn language. There are also other useful guides you can find on CompuPhuse Web Site, the company's website that created Pawn. It's always best to read and get background information on something before jumping right in. I really regret not starting with reading about the language myself before starting to code scripts, I would've learned A LOT of things now that the people who started out correctly consider basics.

Another thing to note is that coding is not all about teleporting a player here and creating a car here. Yes, those are possible things that almost every server has, but coding will also require you to understand basic Math. It may not sound really that big of a deal yet, and may not be until you get into more complex scripts, but it's good to have a strong handle of Math as well. You should also take the time to learn about bits, hexadecimal numbers, and unix timestamps (I know __ made a tutorial about unix timestamps that is great). They will become handy as you get more involved with your coding habits.

Another thing - stay away from inefficient coding methods and scripts. Some coders that you may think are good (reference to your first post) may actually not as great as meets the eye. Many use inefficient methods to creating their scripts, such as large array sizes, creating unnecessary variables, using functions incorrectly, ... the list goes on. As time goes on, you, hopefully, be able to single out the scripts that use inefficient coding methods, and learn from other sources. A few scripts I can site off a top of my head to stay away from: dini and dudb (despite the great work of Draco Blue, as at the time, they were the "stuff").

Finally, ask for help when you need it. These forums have a pretty good Scripting Discussion board that is very active (sadly, used incorrectly a lot). If you have a question or two about a script, and have already searched and tried to figure it out on your own, head over there and make a topic. And never expect direct code! Some, including myself, give hints and tips to head you in the right direction to making what you want - which is how it should be. You will never learn if everything is simply handed to you. Follow the rules specific to the section, and you should be good.

Oh, and I almost forgot! Know the difference between Pawn and Pawno! A lot of new coders say things like:
Quote:
Originally Posted by gabe1971
Once you learn Pawno a lot of things are pretty easy.
When that makes no sense at all! Pawno is a text editor that has syntax highlighting and a button embedded to compile the script. The code that you are writing (typing) in is Pawn. That is the thing that gets on my nerves the most!
So here is a corrected version of what gabe1971 was trying to say:
Quote:
Originally Posted by gabe1971
Once you learn Pawn a lot of things are pretty easy.
Which, in all honestly, is the whole point - To understand how to utilize the language.
Reply
#10

Quote:
Originally Posted by Alvin007
View Post
yeah , but when i see the scripting lines i'm like WTF! it's too long with too many lines !
When I was new to pawn scripting (Still a little), I felt it this way too. But Once you go deep into the scripting world and find what you can do with it, you'll really enjoy it. Even if you continue to script for hours, you won't get bored. Because you'll always try to make new things / debug / and adore your successful creation. It's just my opinion.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)