C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(794) : error 017: undefined symbol "turfs" C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(794) : warning 215: expression has no effect C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(794) : error 001: expected token: ";", but found "]" C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(794) : error 029: invalid expression, assumed zero C:\Users\***\Desktop\GWDM Script OLD\Scripts\GWDMv1.2.pwn(794) : fatal error 107: too many error messages on one line
GangZoneCreate( turfs[ t ][zMinX], turfs[ t ][zMinY], turfs[ t ][zMaxX], turfs[ t ][zMaxY] );
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.
GangZoneCreate( turfs[ t ][zMinX], turfs[ t ][zMinY], turfs[ t ][zMaxX], turfs[ t ][zMaxY]);
Well how do I make it a array? I know 0 to nothing about scripting (well 10 percent) but I really want to get these 4 errors fixed.
|
that seems to be an enum :
enum Turfszone { Float:zMinX, Float:zMaxX, Float:zMaxY, Float:zMinY } new turfs[MAX_TURFS][Turfszone]; <------------------- |