Pawn Studio
#1

Is anyone out there using Pawn Studio?

I really like the layout, and I want to use it, but everytime I compile I get this message.
Код:
Error creating the process:
The parameter is incorrect

Used Command-Line: 
 "C:\Users\xxxx\Documents\Red County Roleplay\gamemodes\rcrp.pwn" -o"C:\Users\xxxx\Documents\Red County Roleplay\gamemodes\rcrp.amx"
I have already searched it on ******, found nothing, and I have also set the compiler to the correct path. Can anyone who uses this tell me how to set it up correctly?
Reply
#2

try to:
menu "Extras", select "Preferences", and goto the "Compilers".
for language, select "Pawn (default)".
the string-inputbox has to contain the pawncc.exe compiler, for me its "G:\GTA Server\pawno\pawncc.exe". after i removed it, i had not the exact same output messages, but anyways i hope this helps you a bit...
Reply
#3

Thank you very much. I have gotten it to compile, but I am suddenly faced with tons of errors in the include files, not in my gamemode itself. So I know it's not a syntax error on my behalf. I also faced this problem using PawnSciTe.

Код:
 Pawn compiler 3.2.3664                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Copyright © 1997-2006, ITB CompuPhase

C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\sscanf2.inc(218) : warning 218: old style prototypes used with optional semicolumns
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\sscanf2.inc(278) : warning 218: old style prototypes used with optional semicolumns
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(411) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(411) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(510) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(510) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(646) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(646) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(780) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(780) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(820) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(820) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(938) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(938) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(958) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\y_amx.inc(958) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\internal\y_dohooks.inc(125) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\internal\y_dohooks.inc(125) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\internal\y_dohooks.inc(177) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\internal\y_dohooks.inc(177) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\internal\y_dohooks.inc(192) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\internal\y_dohooks.inc(192) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\internal\y_dohooks.inc(197) : error 036: empty statement
C:\Users\xxxx\Documents\Red County Roleplay\pawno\include\YSI\internal\y_dohooks.inc(197) : error 036: empty statement

Compilation aborted.
26 Errors.

Compilation Time: 0.59
The hell is going on?
Reply
#4

oh, pay attention to the files where the errors were caused: the includes, your script is ok - i remember that ****** gave me a hint on adding this
Код:
-(+ -;+
to the compiler arguments, my line looks like this atm:
Код:
"%in%" -o"%out%" -v2 -(+ -;+ -D0 -O1 -S65536 -w203 -w204
..so since the %in and %out stuff is default, and adding the small extrastring, should make your compiler arguments looking like
Код:
"%in%" -o"%out%" -(+ -;+
Reply
#5

Babul, you're a fucking genius.

Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)