SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 26/05/2019, 03:32 PM   #71
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Is possible to compile and build it in the current directory of .pwn?
MRM is offline   Reply With Quote
Old 08/06/2019, 10:00 PM   #72
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Quote:
Originally Posted by MRM View Post
Is possible to compile and build it in the current directory of .pwn?
New way :
https://forum.sa-mp.com/showthread.p...18#post4098418
MRM is offline   Reply With Quote
Old 14/06/2019, 08:04 PM   #73
Maks5
Little Clucker
 
Join Date: May 2014
Posts: 14
Reputation: 0
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Is it possible to have an reindent code in visual code?
Maks5 is offline   Reply With Quote
Old 29/07/2019, 06:17 PM   #74
Xxhype
Little Clucker
 
Xxhype's Avatar
 
Join Date: Feb 2019
Posts: 24
Reputation: 4
Default Re: PAWN Syntax and Compiler for Visual Studio Code

It puts my gamemode.amx to the main project folder instead to /gamemodes
any solutions?

nevermind, just replace .json file with:
{
"version": "2.0.0",
"tasks": [
{
"label": "build-normal",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["'${fileBasename}'", "'-D${fileDirname}'", "'-;+'", "'-(+'", "'-d3'"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
}
]
}
Xxhype is offline   Reply With Quote
Old 27/08/2019, 05:48 PM   #75
Beckett
High-roller
 
Beckett's Avatar
 
Join Date: Feb 2012
Location: www.finalnights-rp.com
Posts: 1,794
Reputation: 104
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Quote:
Originally Posted by Xxhype View Post
It puts my gamemode.amx to the main project folder instead to /gamemodes
any solutions?

nevermind, just replace .json file with:
{
"version": "2.0.0",
"tasks": [
{
"label": "build-normal",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["'${fileBasename}'", "'-D${fileDirname}'", "'-;+'", "'-(+'", "'-d3'"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
}
]
}
I'm experiencing the same problem after updating Visual Studio Code.
__________________
Final Nights Roleplay
The first SA-MP server that is not regulated by administrators.
No OOC hierarchy. Strictly directed by players. Utopian vision.

El primer servidor SA-MP que no está regulado por los administradores.
Sin jerarquías OOC. Estrictamente dirigido por jugadores. Visión utópica.

Primul server de SA-MP care nu este regulat de administratori.
Fără ierarhie OOC. Strict dictat de jucători. Visiune utopică.

Yöneticiler tarafından düzenlenmeyen ilk SA-MP sunucusu.
OOC hiyerarşisi yok. Kesinlikle oyuncular tarafından yönetiliyor. Ütopik görme.


Become a Member of our Discord Channel
Beckett is offline   Reply With Quote
Old 02/10/2019, 04:59 PM   #76
PrziNNN
Little Clucker
 
Join Date: Jul 2019
Posts: 5
Reputation: 0
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Just to let to know, the VS 2019 is not available.
PrziNNN is offline   Reply With Quote
Old 12/01/2020, 11:31 AM   #77
CreepyTuber
Little Clucker
 
CreepyTuber's Avatar
 
Join Date: Jan 2019
Location: Georgia (Country)
Posts: 3
Reputation: 1
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Guys when i compile my .pwn file it compiles in server folder, not in gamemodes folder. can anyone help?
__________________
Quote:
"If you are good at something, never do it for free."
- Joker

-----------------------------------------------
MY WORK
1. Tuning garages at idlewood gas station

CreepyTuber is offline   Reply With Quote
Old 26/05/2020, 03:45 PM   #78
Markus001
Little Clucker
 
Join Date: Nov 2011
Location: Mönchengladbach
Posts: 8
Reputation: 0
Default Re: PAWN Syntax and Compiler for Visual Studio Code

Code:
#define MaxVeh 3// Anzahl M�glicher Fahrzeuge pro Person! Achtung nicht zu hoch setzten! Das verbraucht Speicher und kann �ber das Carlimit hinausschiessen!
#define AUTOHAUSER 7 // Anzahl der Autoh�user
#define MAXPARKPLATZE 4 // Anzahl Parkpl�tze
#define MAX_BLITZER 15 // Maximale Anzahl von Blitzern
#define BLITZER_TIMER_INTERVALL 500 // Intervall f�r das Blitzen (in Milliesekunden)
#define BLITZER_PAUSE 1 // Anzahl der Minuten, in denen der Spieler nicht mehr geblitzt werden kann
Problem with umlauts in the script
Markus001 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 11:05 AM.


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