23.06.2018, 19:24
Believe me, it is better to spend few minutes and fix these other errors and then enjoy writing very long lines without the default pawncc complaining about it.
I will write the steps I followed:
Downloaded compiler: https://github.com/pawn-lang/compile....7-windows.zip
Extracted and placed from pawnc-3.10.7-windows\bin to pawno\include and replaced all of them.
Created a pawn.cfg file into pawno folder and wrote in it: -d3-Z
-Z is for compatibility mode (or alternative #pragma compat 1)
To test YSI, I downloaded latest version: https://github.com/pawn-lang/YSI-Inc...rchive/4.x.zip
also amx_assembly: https://github.com/Zeex/amx_assembly/archive/master.zip
Extracted both.
Inside of folder "YSI-Includes-4.x", I created a new folder called "amx" and I placed all files from "amx_assembly-master" to "YSI-Includes-4.x\amx" folder.
Last, I moved all files and folders from "YSI-Includes-4.x" to pawno\include folder and that's it.
Now about including YSI libraries (say y_iterate), I use:
Using slash will fail, this will not work:
I will write the steps I followed:
Downloaded compiler: https://github.com/pawn-lang/compile....7-windows.zip
Extracted and placed from pawnc-3.10.7-windows\bin to pawno\include and replaced all of them.
Created a pawn.cfg file into pawno folder and wrote in it: -d3-Z
-Z is for compatibility mode (or alternative #pragma compat 1)
To test YSI, I downloaded latest version: https://github.com/pawn-lang/YSI-Inc...rchive/4.x.zip
also amx_assembly: https://github.com/Zeex/amx_assembly/archive/master.zip
Extracted both.
Inside of folder "YSI-Includes-4.x", I created a new folder called "amx" and I placed all files from "amx_assembly-master" to "YSI-Includes-4.x\amx" folder.
Last, I moved all files and folders from "YSI-Includes-4.x" to pawno\include folder and that's it.
Now about including YSI libraries (say y_iterate), I use:
pawn Код:
#include <a_samp>
// YSI libraries after a_samp
#include <YSI\y_iterate>
// any other include
pawn Код:
#include <YSI/y_iterate>

