Weird errors
#9

Quote:
Originally Posted by THE_KNOWN
Посмотреть сообщение
undo your changes first

place
pawn Код:
new pDuty[MAX_PLAYERS]; // LINE 8
new pPosesion[MAX_PLAYERS];

forward IsAtWork(playerid);
before
pawn Код:
#if defined FILTERSCRIPT
I have placed all the forwards and news before that.
Now, variables compile correctly, but forward functions send an error:

Код:
emergency.pwn(119) : error 028: invalid subscript (not an array or too many subscripts): "IsTeamPolice"
emergency.pwn(119) : warning 215: expression has no effect
emergency.pwn(119) : error 001: expected token: ";", but found "]"
emergency.pwn(119) : error 029: invalid expression, assumed zero
emergency.pwn(119) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
IsTeamPolice is the first forward function I use in the script. If I comment that line, I get the same error in the next function and if I comment that one, it's the same for the third one, the fourth...

Well, variables are fixed, but now functions aren't working.
Reply


Messages In This Thread
Weird errors (Rep+) - by PHudson - 11.12.2011, 17:06
Re: Weird errors - by adios1 - 12.12.2011, 01:04
Re: Weird errors - by wildcookie007 - 12.12.2011, 10:16
Re: Weird errors - by suhrab_mujeeb - 12.12.2011, 10:30
Re: Weird errors - by Ballu Miaa - 12.12.2011, 10:44
Re: Weird errors - by Phanto90 - 12.12.2011, 11:11
Respuesta: Re: Weird errors - by PHudson - 12.12.2011, 13:33
Re: Weird errors - by THE_KNOWN - 12.12.2011, 13:41
Respuesta: Re: Weird errors - by PHudson - 12.12.2011, 13:48
Re: Weird errors - by THE_KNOWN - 12.12.2011, 13:56

Forum Jump:


Users browsing this thread: 2 Guest(s)