14.07.2013, 08:27
Scripting Guide
Topic
-So, you're trying to script? Alright let me show you how this works. Now, for scripting, you need a few things. You need ideas, includes, and you need to know basic knowledge on how pawno works. Without this, your scripts will probably not be successful.
Include Help
-Now in every pawn script, you must have includes. Without these includes, your script will not compile, causing your script to be non-executable. Now even if your script does not require any special includes, there is one include that MUST be in your script. That include is called "a_samp." You can download it Here. Other than that, any other includes that you may need you can simply ****** the name followed by the ".inc' extension. Now to define your include you simply add #define <"includename"> to the top of your script.
Compiling help
-Well once you've gotten all your stuff together, all you have to do is compile it. You can press the green triangle figure to compile your script. If you did the scripting incorrectly, you'll get error codes. You can fix those here If your scripting goes correctly, it will just compile and you will fine the executable file ".amx File" in the same place where you saved the original file you were working on ".Pwn File", thus successfully scripting something.
Remember to rep me, I need it :L I gotta fix my reputation around here