Coordinate problem
#1

I got this warning if i try to compile my coordinates for gangzones

pawn Код:
101) : warning 213: tag mismatch
101) : warning 213: tag mismatch
101) : warning 213: tag mismatch
101) : warning 213: tag mismatch
101) : warning 227: more initiallers than enum fields
101) : warning 227: more initiallers than enum fields
101) : warning 227: more initiallers than enum fields
101) : warning 227: more initiallers than enum fields
101) : error 018: initialization data exceeds declared size
Here the line:
pawn Код:
new ZoneInfo[][eZone] = {
    {2337.9004, -1808.8383,2590.2043,-1610.3673,TEAM_CRAZY},  //101
    {2216,207, -1752,921, 2524,237, -1634,489,TEAM_BEAST},  //102
    {1972,825, -1910,831, 2204,798, -1263,401,TEAM_ADMIN} // 103
Reply
#2

Show us your eZone enum
Reply
#3

pawn Код:
enum eZone
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    zTeam
}
Reply
#4

You're missing a } at the end of the ZoneInfo array.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)