07.03.2015, 00:23
Okay so I added
enum turfs
{
Float:zMinX,
Float:zMaxX,
Float:zMaxY,
Float:zMinY
}
And the error is gone but now, I'm presented with:
Line 800:
enum turfs
{
Float:zMinX,
Float:zMaxX,
Float:zMaxY,
Float:zMinY
}
And the error is gone but now, I'm presented with:
Код:
C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(800) : error 028: invalid subscript (not an array or too many subscripts): "turfs" C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(800) : warning 215: expression has no effect C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(800) : error 001: expected token: ";", but found "]" C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(800) : error 029: invalid expression, assumed zero C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(800) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Line 800:
Код:
GangZoneCreate( turfs[ t ][zMinX], turfs[ t ][zMinY], turfs[ t ][zMaxX], turfs[ t ][zMaxY]);