24.07.2012, 09:55
Enum:
Line with errors changed to:
And I got new errors!
pawn Код:
enum pInfo
{
AdminLevel
}
pawn Код:
if(pInfo[playerid][AdminLevel] >= 6);
Код:
C:\Users\Connor\Desktop\Development\0.3E - SCRIPT\gamemodes\AGS.pwn(62) : error 017: undefined symbol "Info" C:\Users\Connor\Desktop\Development\0.3E - SCRIPT\gamemodes\AGS.pwn(62) : error 009: invalid array size (negative, zero or out of bounds) C:\Users\Connor\Desktop\Development\0.3E - SCRIPT\gamemodes\AGS.pwn(654) : error 028: invalid subscript (not an array or too many subscripts): "pInfo" C:\Users\Connor\Desktop\Development\0.3E - SCRIPT\gamemodes\AGS.pwn(654) : warning 215: expression has no effect C:\Users\Connor\Desktop\Development\0.3E - SCRIPT\gamemodes\AGS.pwn(654) : error 001: expected token: ";", but found "]" C:\Users\Connor\Desktop\Development\0.3E - SCRIPT\gamemodes\AGS.pwn(654) : error 029: invalid expression, assumed zero C:\Users\Connor\Desktop\Development\0.3E - SCRIPT\gamemodes\AGS.pwn(654) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.