>> Compile Errors << >> Help Me Please <<
#1


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
Reply
#2

you need a comma after the } on line 1226

Reply
#3

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

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.
Reply
#5

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.
Reply
#6

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.
Reply
#7

{109},

new Peds[214][1] = {


That?
Reply
#8

removed - nothing nevertheless
Reply
#9

Quote:
Originally Posted by monster010
{109},

new Peds[214][1] = {


That?
How about everything from line 1 - line 2000
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)