SA-MP Forums Archive
>> Compile Errors << >> Help Me Please << - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: >> Compile Errors << >> Help Me Please << (/showthread.php?tid=84560)



>> Compile Errors << >> Help Me Please << - monster010 - 01.07.2009


I have problem when I compile


Can you help please?


Код:
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi2\[2.0 X]\gamemodes\Mortalii_RolePlaY_v2.4.pwn(1227) : error 001: expected token: "}", but found "{"
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi2\[2.0 X]\gamemodes\Mortalii_RolePlaY_v2.4.pwn(29579) : warning 203: symbol is never used: "Surenos"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
And the linies :

1227 :
29579 :


Tanks



Re: >> Compile Errors << >> Help Me Please << - kaisersouse - 01.07.2009

you need a comma after the } on line 1226




Re: >> Compile Errors << >> Help Me Please << - refshal - 01.07.2009

Add
pawn Код:
#pragma unused Surenos
in the top of your script.


Re: >> Compile Errors << >> Help Me Please << - monster010 - 01.07.2009

Other errors

Код:
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi2\[2.0 X]\gamemodes\Mortalii_RolePlaY_v2.4.pwn(1230) : error 018: initialization data exceeds declared size
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi2\[2.0 X]\gamemodes\Mortalii_RolePlaY_v2.4.pwn(1232) : error 001: expected token: "}", but found "new"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: >> Compile Errors << >> Help Me Please << - kaisersouse - 01.07.2009

Quote:
Originally Posted by cοοp
Add
pawn Код:
#pragma unused Surenos
in the top of your script.
Perhaps not. If he errors out on that array and that array is a function of Surenos then it will say that Surenos isn't used. If he fixes his array and its a part of Surenos then both errors will go away.


Re: >> Compile Errors << >> Help Me Please << - kaisersouse - 01.07.2009

Quote:
Originally Posted by monster010
Other errors

Код:
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi2\[2.0 X]\gamemodes\Mortalii_RolePlaY_v2.4.pwn(1230) : error 018: initialization data exceeds declared size
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi2\[2.0 X]\gamemodes\Mortalii_RolePlaY_v2.4.pwn(1232) : error 001: expected token: "}", but found "new"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Show us the entire array please. You probably need to bump the size up by one.



Re: >> Compile Errors << >> Help Me Please << - monster010 - 01.07.2009

{109},

new Peds[214][1] = {


That?


Re: >> Compile Errors << >> Help Me Please << - refshal - 01.07.2009

removed - nothing nevertheless


Re: >> Compile Errors << >> Help Me Please << - kaisersouse - 01.07.2009

Quote:
Originally Posted by monster010
{109},

new Peds[214][1] = {


That?
How about everything from line 1 - line 2000