Weird problem (foreach i think?)
#1

Код:
C:\Dokumente und Einstellungen\Ab\Desktop\backup GTA\Server backup\RPGGM.pwn(1343) : error 001: expected token: "-identifier-", but found "-integer value-"
C:\Dokumente und Einstellungen\Ab\Desktop\backup GTA\Server backup\RPGGM.pwn(1345) : error 021: symbol already defined: "InDerby"
C:\Dokumente und Einstellungen\Ab\Desktop\backup GTA\Server backup\RPGGM.pwn(2924) : error 028: invalid subscript (not an array or too many subscripts): "InDerby"
C:\Dokumente und Einstellungen\Ab\Desktop\backup GTA\Server backup\RPGGM.pwn(2924) : warning 215: expression has no effect
C:\Dokumente und Einstellungen\Ab\Desktop\backup GTA\Server backup\RPGGM.pwn(2924) : error 001: expected token: ";", but found "}"
C:\Dokumente und Einstellungen\Ab\Desktop\backup GTA\Server backup\RPGGM.pwn(2924) : warning 215: expression has no effect
C:\Dokumente und Einstellungen\Ab\Desktop\backup GTA\Server backup\RPGGM.pwn(2924) : error 001: expected token: ";", but found ")"
C:\Dokumente und Einstellungen\Ab\Desktop\backup GTA\Server backup\RPGGM.pwn(2924) : fatal error 107: too many error messages on one line

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


6 Errors.
I have this:

new Iterator:InDerby<MAX_PLAYERS>;
new bool:InDerby[MAX_PLAYERS];

and this under onlayerdisconnect:

if(InDerby { playerid } == true) Remove_From_Derby(playerid);


Why i get this errors ?
Reply
#2

pawn Код:
if(InDerby[playerid] == true) Remove_From_Derby(playerid);
Reply
#3

pawn Код:
new bool:InDerby[MAX_PLAYERS char];
Reply
#4

still same errors
Reply
#5

pawn Код:
new Iterator:InDerby<MAX_PLAYERS>;
new bool:InDerby[MAX_PLAYERS];
2 InDerby?
Reply
#6

Problem Solved:

I was using old foreach include xD

Thanks all
Reply
#7

http://forum.sa-mp.com/attachment.ph...9&d=1315196697

for any errors you get next time
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)