Hello, please help with
"Not a .sp file, aborting"
When trying to compile .sp file
Code:
"sourcepawn.MainPath": "D:\\Server\\scripting\\",
"sourcepawn.outputDirectoryPath": "D:\\Server\\scripting\\compiled\\",
"sourcepawn.SourcemodHome": "D:\\Server\\scripting\\include\\",
"sourcepawn.SpcompPath": "D:\\Server\\scripting\\spcomp.exe",
UPD:
Turns out I needed to right-click in editor and choose "SM Set current file as main", then it works
But I have a question
Can I compile a file without setting as main?
I have tons of .sp in my /scripting folder, and I used to that setup, since most plugins are one-file anyway