View Single Post
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 02-05-2017 , 10:41   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #8

Quote:
Originally Posted by Depresie View Post
I dont understand what you mean...
Usually there are two include folders, the first one is the compiler's one.
Code:
D:/
└── Game
    └── cstrike
        └── addons
            └─── amxmodx
                 └─── scripting
                      └─── amxxpc.exe
                           ├── compiler.exe
                           └── include
                               └── compiler_defeault.inc
The second one could exists or not. If there is one, it would be:
Code:
C:/
└── User
    └── Downloads
        ├── zp_plague_5.sma
        └── include
            └── zp_includes.inc
So, if we run the compiler with the parameter `-I` pointing to the `zp_plague_5.sma` special include folder,
we do not need to copy the include files to the compiler's default include folder. Example:
Code:
D:/Game/cstrike/addons/amxmodx/scripting/amxxpc.exe -I"C:/User/Downloads/include" "C:/User/Downloads/include/zp_plague_5.sma"
You do not need to copy the includes on `C:/User/Downloads/include` to the folder `D:/Game/cstrike/addons/amxmodx/scripting/include`.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 02-05-2017 at 10:45.
addons_zz is offline