What's the best way to be pro in scripting?

Everyone tell me how he became pro in this field ....

Practice makes the master

I think you posted this in the wrong section but I'll give my answer nevertheless.

There are a lot of ways you can become somewhat of a "pro" in scripting; all takes time and patience.

* This is the way I started out

I started reading abit about PAWNO (the script/gamemode compiler)
I downloaded gamemodes, open them up.. (Roleplay gamemodes were my favorite) and I would make simple changes and I learn along the way until I can build my own systems. I understood systems by learning how others did theirs.

To get the compiler you can download SAMP's latest server package and look in the "pawno" folder and open it up.
Here is where you get the package: http://www.sa-mp.com/download.php
*Make sure you select the "SA-MP Windows Server Download" for Windows or Linux computers.

You could look at these topic boards where there are hundreds of gamemodes/filterscripts

For gamemodes: http://forum.sa-mp.com/forumdisplay.php?f=71
For Filterscripts: http://forum.sa-mp.com/forumdisplay.php?f=17

If you ever run into problems; SAMP forums is here to help. http://forum.sa-mp.com/forumdisplay.php?f=12

- Practice makes perfect -
- Trial and error helps alot too -

There is no such thing as "pro".
Everybody has their own skill levels when it comes to scripting.

Use the wiki to understand functions, and look at tutorials and such.

You need to buy Pro scripting package.

read all of this http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf

learn C++ as pawn is based on it: http://www.cplusplus.com/files/tutorial.pdf

learn SQL on codecademy

go here to test your skills: http://www.codewars.com/

meanwhile go write random gamemodes and filterscripts to practice pawn

repeat last two sentences for 5 years and you'll be kind of okay at pawn

Be familiar with all language constructs; know when and how to use them. Be familiar with the game. Be familiar with the API. Over time you will learn to read color codes and interpret what they look like, or approximate a location on the map just by looking at some coordinates.

Most importantly, use a naming convention. Scripts that have apparently random variable and function names look unprofessional and are hard to debug.

In my case that is:
  • Constants are written in all caps with underscores.
  • Functions use PascalCase and contain a verb.
  • Variables use camelCase.
  • Normal variables are singular.
  • Arrays are plural.
  • Global variables are prefixed with 'g'.
  • Variables are meaningful and named for their purpose, not their type (e.g. "message" rather than "string").
  • SQL table names are singular and use PascalCase.
  • SQL field names are singular and use camelCase.

You'll only be able to learn something fast if you are passionate about it and really want to learn it. Start practicing and you'll get there.

You're always learning in most things, which is the case for programming too. Just try and be open minded and don't quit when you make mistakes, everybody makes them. If you need help, don't feel ashamed to ask and keep powering on. If you enjoy it, one day you will become "pro" at it.

Forum Jump:

Users browsing this thread: 1 Guest(s)