09.07.2014, 19:23
pawn Код:
enum istr
{
INV_NAME[24],// error 001: expected token: "}", but found "("
Float:INV_WEIGHT,
INV_MODEL,
Float:INV_MODEL_ZOOM,
Float:INV_MODEL_ROOTX,
Float:INV_MODEL_ROOTY,
Float:INV_MODEL_ROOTZ
};
new const Inventory[][istr] =
{
{"nnnnn", 0.0, 0, 0.0, 0.0, 0.0, 0.0},//warning 228: length of initialler exceeds size of the enum field ++++ warning 227: more initiallers than enum fields
{"GPS navigacija", 0.32, 18875, 1.0, -90.0, 0.0, 180.0},
{"N. liemene", 3.25, 1242, 1.0, 0.0, 0.0, 0.0},
{"Pasas", 0.01, 1581, 1.0, 0.0, 0.0, 210.0},
{"Somedaikas1", 0.35, 1581, 1.0, 0.0, 0.0, 210.0},
{"Somedaikas2", 0.35, 1581, 1.0, 0.0, 0.0, 210.0},
{"Somedaikas3", 0.35, 1581, 1.0, 0.0, 0.0, 210.0},
{"Somedaikas4", 0.35, 1581, 1.0, 0.0, 0.0, 210.0},
{"Somedaikas5", 0.35, 1581, 1.0, 0.0, 0.0, 210.0},
{"Somedaikas6", 0.35, 1581, 1.0, 0.0, 0.0, 210.0},
{"Somedaikas7", 0.35, 1581, 1.0, 0.0, 0.0, 210.0},
{"Somedaikas8", 0.35, 1581, 1.0, 0.0, 0.0, 210.0}
};