Can someone make Pawn compiler for Visual Studio Code?
#1

Hello guys, I just downloaded Visual Studio Code and I found Pawn Language as an extension but there is no compiler. So, can someone make a Pawn compiler for Visual Studio Code please? I ask for help because I really love this simple and beautiful theme of VSC, it would be a great Pawn editor.
Reply
#2

The compiler is one and the same no matter what editor you use. You only need to find out how (or if) you can invoke it (pawncc.exe) through the application.
Reply
#3

Hai!

https://sampforum.blast.hk/showthread.php?tid=625344

but its on espanol (Translate ftw)

Hf
Reply
#4

I followed his instruction but finally got this error when I compile:
Quote:

d:\Bare Script\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
MORE AND MORE

I don't know what's wrong with this.
Reply
#5

Why are you having a seperate module for variables?? In my thinking it would make code harder to understand.
@On-Topic
If you scroll down on `Similar Threads` you will find what you are looking for.
Reply
#6

Quote:
Originally Posted by coool
View Post
Why are you having a seperate module for variables?? In my thinking it would make code harder to understand.
@On-Topic
If you scroll down on `Similar Threads` you will find what you are looking for.
Thanks for advice but it looks good to me but I cannot find `Similar Threads`, what do you mean with this?
Reply
#7

I could compile Pawn language in Visual Studio Code but just don't know why it shows many unknow errors like these:
Quote:

d:\Bare Script\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
.
.
.

I have not found a solution to this problem yet! Please help me, thanks in advanced.
Reply
#8

Quote:
Originally Posted by DuyDang2412
View Post
I could compile Pawn language in Visual Studio Code but just don't know why it shows many unknow errors like these:

I have not found a solution to this problem yet! Please help me, thanks in advanced.
the problem on your code. not Visual Studio Code (Im using it, i have no problem till now)
Reply
#9

Quote:
Originally Posted by XeonMaster
View Post
the problem on your code. not Visual Studio Code (Im using it, i have no problem till now)
Really? I compile my gamemode on Sublime Text 3 without any errors but Visual Studio Code, I get errors.
Can I see your tasks.json?
Reply
#10

PHP Code:

    
"version""0.1.0"
    
"isShellCommand"true
    
"args": [${relativeFile} -i"], 
    
"windows"
    { 
      
"command""C:\\Users\\User\\Desktop\\Pawn Scripting\\pawn\\pawncc.exe" 
    


Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)