SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 27/12/2017, 11:50 PM   #51
Barnwell
Banned
 
Join Date: May 2014
Location: England
Posts: 549
Reputation: 40
Default Re: PAWN Syntax and Compiler for Visual Studio Code

pawn Code:
> Executing task in folder .vscode: c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\.vscode\pawno\pawncc.exe ../Hard Core.pwn <

c:\Users\Nevinn\Desktop\HC-RP : The term 'c:\Users\Nevinn\Desktop\HC-RP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (c:\Users\Nevinn\Desktop\HC-RP:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

> Executing task in folder .vscode: c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\.vscode\pawno\pawncc.exe ../Hard Core.pwn <

c:\Users\Nevinn\Desktop\HC-RP : The term 'c:\Users\Nevinn\Desktop\HC-RP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (c:\Users\Nevinn\Desktop\HC-RP:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Error.
Barnwell is offline   Reply With Quote
Old 29/12/2017, 02:07 AM   #52
Tween73
Banned
 
Join Date: Aug 2014
Posts: 104
Reputation: 0
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Your youtube tutorial?
Tween73 is offline   Reply With Quote
Old 31/12/2017, 12:52 PM   #53
VincenzoDrift
Little Clucker
 
VincenzoDrift's Avatar
 
Join Date: Jun 2014
Posts: 47
Reputation: 3
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Quote:
Originally Posted by Barnwell View Post
pawn Code:
> Executing task in folder .vscode: c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\.vscode\pawno\pawncc.exe ../Hard Core.pwn <

c:\Users\Nevinn\Desktop\HC-RP : The term 'c:\Users\Nevinn\Desktop\HC-RP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (c:\Users\Nevinn\Desktop\HC-RP:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

> Executing task in folder .vscode: c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\.vscode\pawno\pawncc.exe ../Hard Core.pwn <

c:\Users\Nevinn\Desktop\HC-RP : The term 'c:\Users\Nevinn\Desktop\HC-RP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (c:\Users\Nevinn\Desktop\HC-RP:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Error.
Delete spaces in folders' names
__________________
Sorry for my bad english
VincenzoDrift is offline   Reply With Quote
Old 01/01/2018, 08:27 AM   #54
VincenzoDrift
Little Clucker
 
VincenzoDrift's Avatar
 
Join Date: Jun 2014
Posts: 47
Reputation: 3
Default Re: PAWN Syntax and Compiler for Visual Studio Code

I've had the same problem. I solved by removing the spaces. In fact, if you look closely at it says:
Code:
The term 'c:\Users\Nevinn\Desktop\HC-RP is not recognized as the name of a cmdlet ....
command prompt example:
Code:
c:\user\folder\file.exe [option]
is not the same as
Code:
c:\user\main folder\file.exe
because the option in this last example is "folder\file.exe"

Sorry for bad english
__________________
Sorry for my bad english
VincenzoDrift is offline   Reply With Quote
Old 30/03/2018, 08:23 PM   #55
YamatoYamm
Little Clucker
 
Join Date: Jul 2017
Posts: 3
Reputation: 0
Default Re: PAWN Syntax and Compiler for Visual Studio Code

i cannot create .vscode folder , can you help me ?
YamatoYamm is offline   Reply With Quote
Old 22/04/2018, 10:31 PM   #56
Scriptery
Big Clucker
 
Join Date: Aug 2015
Location: Romania
Posts: 67
Reputation: 12
Exclamation Re: PAWN Syntax and Compiler for Visual Studio Code

Quote:
Originally Posted by YamatoYamm View Post
i cannot create .vscode folder , can you help me ?
Press on " Task " (last but one item) from navbar and press on " Configure build task ".




And for instant compile (without select build..) need put this code:
HTML Code:
{ 
    "version": "2.0.0",  
    "type": "shell", 
    "args": ["${relativeFile}"],  
    "windows":  
    {  
        "command": "C:\\pawno\\GM\\pawncc.exe"  
    },
    "group": {
        "kind": "build",
        "isDefault": true
    }
}
int tasks.json
__________________
My work:

ANTI AIMBOT
Scriptery is offline   Reply With Quote
Old 26/07/2018, 09:40 PM   #57
Jay_Dixon
Huge Clucker
 
Jay_Dixon's Avatar
 
Join Date: Aug 2012
Posts: 248
Reputation: 17
Default Re: PAWN Syntax and Compiler for Visual Studio Code

I only get these warnings in Visual Studio, never anywhere else. The script works perfectly fine and all, but that won't stop it from annoying the hell outta me xD

Any way to fix?
pawn Code:
Visual Studio\pawno\include\sscanf2.inc(270) : warning 218: old style prototypes used with optional semicolumns
Visual Studio\pawno\include\sscanf2.inc(330) : warning 218: old style prototypes used with optional semicolumns
__________________


Jay_Dixon is offline   Reply With Quote
Old 28/07/2018, 04:55 PM   #58
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: PAWN Syntax and Compiler for Visual Studio Code

It very helpful! Nice
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!
Heress is offline   Reply With Quote
Old 29/07/2018, 08:38 PM   #59
Jay_Dixon
Huge Clucker
 
Jay_Dixon's Avatar
 
Join Date: Aug 2012
Posts: 248
Reputation: 17
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Quote:
Originally Posted by [HLF]Southclaw View Post
See the above post.
I fixed that a while ago. However I do have another issue. Visual Studio Code just won't compile my mapping filterscript. Ok more specifically it won't compile it if I keep the other modules included in it. Also I have this thing - Not really an issue, more of an annoyance really - Where it says things like <a_samp> can't resolve the path, yet the script compiles. What can I do to fix that one? Also the .vscode thing didn't work when I did that create shortcut thing you said - But I made the file myself for that one
__________________


Jay_Dixon is offline   Reply With Quote
Old 01/08/2018, 03:12 AM   #60
[BOPE]Seu._.Madruga
High-roller
 
[BOPE]Seu._.Madruga's Avatar
 
Join Date: Nov 2011
Location: São Paulo - SP
Posts: 1,079
Reputation: 79
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Estou tendo problemas na hora de compílar, já configurei tudo conforme o tópico porém quando vou compilar um arquivo .pwn da este problema ai.

Porém se compilo pelo Pawno Infernus ele compila certinho mas pelo VSCODE da erro.
__________________

_\|/_ Ei vey é Nozes _\|/_

Nick: LeozinIMPERATUS

Patente: Coronel 3

Página Oficial: Leonardo " lbs " Bradoks » www.facebo ok.com/leobradoks
Página de Programação: Programação em Foco » www.facebo ok.com/groups/ProgramacaoEmFoco
Atualmente focado ao competitivo de Point Blank
Email | Site Pessoal | Skype | Discord
O topo da inteligência é alcançar a humildade
[BOPE]Seu._.Madruga 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
Can someone make Pawn compiler for Visual Studio Code? DuyDang2412 Scripting Help 11 26/07/2017 11:21 AM
[Tutorial] Visual Studio like an compilator PAWN language Dystans Tutorials 7 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 04:10 PM.


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