Thank you! This is exactly what I needed. I did the individual selection thing, but I noticed one problem. No matter which compiler I choose, the include files are read from the original compiler. Here's the compiler output:
PHP Code:
Compiling adminchat... Current time is: 19:58:46.12 - 18.07.2018
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxconst.inc(50) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_STRING")
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxconst.inc(55) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_VECTOR")
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\string_stocks.inc(91) : warning 207: unknown #pragma
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\string_stocks.inc(91) : error 038: extra characters on line
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(178) : warning 207: unknown #pragma
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(178) : error 038: extra characters on line
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2549) : warning 207: unknown #pragma
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2549) : error 038: extra characters on line
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2561) : warning 207: unknown #pragma
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2561) : error 038: extra characters on line
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2609) : warning 207: unknown #pragma
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2609) : error 038: extra characters on line
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2620) : warning 207: unknown #pragma
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2620) : error 038: extra characters on line
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2632) : warning 207: unknown #pragma
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmodx.inc(2632) : error 038: extra characters on line
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmisc.inc(635) : warning 207: unknown #pragma
E:\OciXCrom\Servers\iPlay.bg Dust2+Respawn\cstrike\addons\amxmodx\scripting\include/\amxmisc.inc(635) : error 038: extra characters on line
10 Errors.
Could not locate output file E:\OciXCrom\Servers\iPlay.bg Deathrun Unique [#4FUN]\cstrike\addons\amxmodx\plugins\adminchat.amx (compile failed).
There was an compilation error. Exiting...
Took 0:00:00,43 seconds to run this script.
[Finished in 0.5s]
As you can see, the compiler is in the "Deathrun Unique" server, but it uses the files from the "Dust2+Respawn" server.
Here's the .sublime-build file:
PHP Code:
{
"working_dir": "$file_path",
"cmd": ["$packages/User/Amxmodx/AmxxDust183.bat","$file", "$file_base_name", "$packages", "$file_path"],
// "target": "ansi_color_build",
"syntax": "Packages/Amxmodx/AmxmodxConsole.sublime-syntax",
"variants":
[
{
"name": "AmxxDeathrun182.bat",
"cmd": ["$packages/User/Amxmodx/AmxxDeathrun182.bat","$file", "$file_base_name", "$packages", "$file_path"],
},
{
"name": "AmxxDust183.bat",
"cmd": ["$packages/User/Amxmodx/AmxxDust183.bat","$file", "$file_base_name", "$packages", "$file_path"],
},
{
"name": "AmxxFurien183.bat",
"cmd": ["$packages/User/Amxmodx/AmxxFurien183.bat","$file", "$file_base_name", "$packages", "$file_path"],
},
{
"name": "AmxxJailbreak183.bat",
"cmd": ["$packages/User/Amxmodx/AmxxJailbreak183.bat","$file", "$file_base_name", "$packages", "$file_path"],
},
{
"name": "AmxxReHLDS.bat",
"cmd": ["$packages/User/Amxmodx/AmxxReHLDS.bat","$file", "$file_base_name", "$packages", "$file_path"],
},
],
"selector": "source.AmxxPawn, source.AMXX, source.sma",
"file_regex": "^.*[\\/\\\\]+(.+)\\(([0-9]+ ?.*)\\) : (.*)",
}
__________________