14.06.2010, 18:17
I am making a purchasing flat system, with enum and all these thing
i have these errors:
And that line:
Someone knows how to fix it?
i have these errors:
pawn Код:
C:\DOCUME~1\User\Desktop\LVRP\GAMEMO~1\larp.pwn(25625) : error 028: invalid subscript (not an array or too many subscripts): "DzInfo"
C:\DOCUME~1\User\Desktop\LVRP\GAMEMO~1\larp.pwn(25625) : warning 215: expression has no effect
C:\DOCUME~1\User\Desktop\LVRP\GAMEMO~1\larp.pwn(25625) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\User\Desktop\LVRP\GAMEMO~1\larp.pwn(25625) : error 029: invalid expression, assumed zero
C:\DOCUME~1\User\Desktop\LVRP\GAMEMO~1\larp.pwn(25625) : fatal error 107: too many error messages on one line
And that line:
pawn Код:
if(PlayerInfo[playerid][pDzivoklis] != 255 && strcmp(playername, DzInfo[PlayerInfo][playerid][pDzivoklis]][dzOwner], true) == 0)