error 018: initialization data exceeds declared size
#4

Quote:
Originally Posted by sanrock
View Post
mine is:
pawn Code:
enum pInfo
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    zTeam,
    Kills,
    Deaths
}
new ZoneInfo[][pInfo] = {
    {1976.0409,-1351.8186,1862.2743,-1450.5481,COLOR_GRAY}
};
I've never seen that before but just do this:


Quote:
Originally Posted by sanrock
View Post
mine is:
pawn Code:
enum pInfo
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    zTeam,
    Kills,
    Deaths
}
new ZoneInfo[30][pInfo];//30 is just an extimated size. You could have MAX_ZONEINFO (but you'd have to define it)
};
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)