SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 25/07/2017, 04:25 PM   #1
DuyDang2412
Big Clucker
 
Join Date: Feb 2017
Posts: 160
Reputation: 2
Default Can someone make Pawn compiler for Visual Studio Code?

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.
DuyDang2412 is offline   Reply With Quote
Old 25/07/2017, 04:57 PM   #2
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,977
Reputation: 2649
Default Re: Can someone make Pawn compiler for Visual Studio Code?

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.
__________________
Vince is offline   Reply With Quote
Old 25/07/2017, 06:10 PM   #3
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 498
Reputation: 96
Default Re: Can someone make Pawn compiler for Visual Studio Code?

Hai!

http://forum.sa-mp.com/showthread.php?t=625344

but its on espanol (Translate ftw)

Hf
Xeon™ is offline   Reply With Quote
Old 26/07/2017, 01:43 AM   #4
DuyDang2412
Big Clucker
 
Join Date: Feb 2017
Posts: 160
Reputation: 2
Default Re: Can someone make Pawn compiler for Visual Studio Code?

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.
DuyDang2412 is offline   Reply With Quote
Old 26/07/2017, 05:44 AM   #5
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 591
Reputation: 34
Default Re: Can someone make Pawn compiler for Visual Studio Code?

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.
__________________
coool is offline   Reply With Quote
Old 26/07/2017, 08:00 AM   #6
DuyDang2412
Big Clucker
 
Join Date: Feb 2017
Posts: 160
Reputation: 2
Default Re: Can someone make Pawn compiler for Visual Studio Code?

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?
DuyDang2412 is offline   Reply With Quote
Old 26/07/2017, 08:03 AM   #7
DuyDang2412
Big Clucker
 
Join Date: Feb 2017
Posts: 160
Reputation: 2
Default Re: Can someone make Pawn compiler for Visual Studio Code?

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.
DuyDang2412 is offline   Reply With Quote
Old 26/07/2017, 08:38 AM   #8
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 498
Reputation: 96
Default Re: Can someone make Pawn compiler for Visual Studio Code?

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)
Xeon™ is offline   Reply With Quote
Old 26/07/2017, 09:03 AM   #9
DuyDang2412
Big Clucker
 
Join Date: Feb 2017
Posts: 160
Reputation: 2
Default Re: Can someone make Pawn compiler for Visual Studio Code?

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?
DuyDang2412 is offline   Reply With Quote
Old 26/07/2017, 09:20 AM   #10
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 498
Reputation: 96
Default Re: Can someone make Pawn compiler for Visual Studio Code?

PHP Code:

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


Xeon™ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Visual Studio Code Compiler Casttiel Lançamentos/Releases 7 17/08/2017 08:18 AM
Simple code and Pawn Compiler Stopped Working dudaefj Scripting Help 4 20/09/2014 01:51 AM
[Tutorial] Visual Studio like an compilator PAWN language Dystans Tutorials 9 17/02/2013 06:43 AM
Visual Studio as the development environment for PAWN Arca Scripting Help 7 28/07/2012 08:18 PM
PawnCC (Pawn Code Compiler) Crashes. Ash. Help Archive 4 28/07/2010 10:25 AM


All times are GMT. The time now is 09:54 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.