19.11.2018, 04:15
I got a problem with this code
Error:
I'm trying to make a tuning system, but I have to get all the components.
My array is 4D and I'm using Zeex's Compiler
Here's the code
Error:
Код:
error 020: invalid symbol name "" error 010: invalid function or declaration // that is at the end of the array warning 203: symbol is never used: "" // end of gamemode
My array is 4D and I'm using Zeex's Compiler
Here's the code
PHP код:
new AllComponents[MAX_COMPONENTS][ArrayComponent][MAX_COMPONENTS] = {
{1000, "Pro Spoiler", CARMODTYPE_SPOILER, CertainCars_1},
{1001, "Win Spoiler", CARMODTYPE_SPOILER, CertainCars_2}, //Line
{1002, "Drag Spoiler", CARMODTYPE_SPOILER, CertainCars_3},
{1003, "Alpha Spoiler", CARMODTYPE_SPOILER, CertainCars_4},
{1004, "Champ Scoop", CARMODTYPE_HOOD, CertainCars_5},
{1005, "Fury Scoop", CARMODTYPE_HOOD, CertainCars_5},
{1006, "Roof Scoop", CARMODTYPE_HOOD, CertainCars_6},
{1007, "Right Sideskirt", CARMODTYPE_SIDESKIRT, CertainCars_7},
{1008, "Nitro 5x", CARMODTYPE_NITRO, MostCars},
{1009, "Nitro 2x", CARMODTYPE_NITRO, MostCars},
{1010, "Nitro 10x", CARMODTYPE_NITRO, MostCars},
{1011, "Race Scoop", CARMODTYPE_HOOD, CertainCars_8},
{1012, "Worx Scoop", CARMODTYPE_HOOD, CertainCars_8},
{1013, "Round Fog", CARMODTYPE_LAMPS, CertainCars_9},
{1014, "Champ Spoiler", CARMODTYPE_SPOILER, CertainCars_10},
{1015, "Race Spoiler", CARMODTYPE_SPOILER, CertainCars_11},
{1016, "Worx Spoiler", CARMODTYPE_SPOILER, CertainCars_12},
{1017, "Left Sideskirt", CARMODTYPE_SIDESKIRT, CertainCars_13},
{1018, "Upswept", CARMODTYPE_EXHAUST, MostCars_2},
{1019, "Twin", CARMODTYPE_EXHAUST, MostCars_3},
{1020, "Large", CARMODTYPE_EXHAUST, MostCars_4},
{1021, "Medium", CARMODTYPE_EXHAUST, MostCars_4}, ....
PHP код:
new CertainCars_2[] = {401, 405, 410, 415, 420, 426, 436, 439, 496, 518, 527, 529, 540, 546, 549, 550, 580, 603};