View Single Post
phayzee
New Member
Join Date: Sep 2021
Old 09-06-2021 , 17:37   Re: [Editor] AMXXPawn for Visual Studio Code
Reply With Quote #176

I get this error when trying to compile any plugin with VS Code:
HTML Code:
Failed to start amxxpc: spawn X:\MyPrograms\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting ENOENT
I'm using the latest version of of VS Code, on Windows.
Using the terminal I'm able to compile files just fine, I have no idea why it's not working through VS Code.

The compiler and include path should be fine:
PHP Code:
    "amxxpawn.compiler.includePaths": [
        
"X:\\MyPrograms\\Steam\\steamapps\\common\\Half-Life\\cstrike\\addons\\amxmodx\\scripting\\include",
        
"X:\\MyPrograms\\Steam\\steamapps\\common\\Half-Life\\cstrike\\addons\\amxmodx\\scripting\\include\\amxmod_compat"    
    
], 
PHP Code:
    "amxxpawn.compiler.executablePath""X:\\MyPrograms\\Steam\\steamapps\\common\\Half-Life\\cstrike\\addons\\amxmodx\\scripting"
Any insights into this?
phayzee is offline