What's the best way to be pro in scripting? -
AhmedElGaml - 02.06.2016
Everyone tell me how he became pro in this field ....
Re: What's the best way to be pro in scripting? -
SumoEnbenenao - 02.06.2016
Practice makes the master
Re: What's the best way to be pro in scripting? -
Djean - 02.06.2016
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 -
Re: What's the best way to be pro in scripting? -
itsCody - 02.06.2016
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.
Re: What's the best way to be pro in scripting? -
doreto - 02.06.2016
You need to buy Pro scripting package.
Re: What's the best way to be pro in scripting? -
Duck - 02.06.2016
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
Re: What's the best way to be pro in scripting? -
Vince - 02.06.2016
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.
Re: What's the best way to be pro in scripting? -
DarkLored - 02.06.2016
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.
Re: What's the best way to be pro in scripting? -
Chilli9434 - 03.06.2016
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.