13.03.2018, 19:55
Код:
./assets/enums.pwn(1234) : error 008: must be a constant expression; assumed zero ./assets/enums.pwn(1248) : error 001: expected token: "}", but found ";"
PHP код:
enum hInteriors
{
intLevel,
intModel,
Float:intX,
Float:intY,
Float:intZ,
intPrice,
}
new IntInfo[][hInteriors] = {
{0, 12, 445.04, 508.86, 1001.42, 0},
{1, 8, 2807.62, -1171.90, 1025.57, 500000},
{2, 10, 27.13, 1341.15, 1084.38, 750000},
{3, 6, 2333.11, -1075.10, 1049.02, 1000000,
{4, 4, 261.00, 1286.00, 1080.2600, 1250000}, //line1234
{5, 5, 2350.34, -1181.65, 1027.98, 1500000},
{6, 10, 2268.39,-1210.45, 1047.75, 1750000},
{7, 5, 318.57, 1118.21, 1083.88, 2000000},
{8, 2, 219.34, 1251.26, 1082.15, 2250000},
{9, 5, 295.34, 1473.09, 1080.26, 2500000},
{10, 2, 447.73, 1400.44, 1084.30, 2750000},
{11, 11, 2282.91, -1138.29, 1050.90, 3000000},
{12, 9, 83.30, 1324.70, 1083.86, 3250000},
{13, 6, 2194.79, -1204.35, 1049.02, 3500000},
{14, 8, 2365.30, -1132.92, 1050.88, 3750000},
{15, 5, 227.72, 1114.39, 1080.99, 4000000},
{16, 7, 225.74, 1024.54, 1084.00, 4500000},
{17, 9, 1261.4819, -785.4633, 1091.9063, 6500000}
}; //line 1248