error 020: invalid symbol name ""
new AllComponents[MAX_COMPONENTS][ArrayComponent][] = {
{1000, "Pro Spoiler", CARMODTYPE_SPOILER, CertainCars_1},
{1001, "Win Spoiler", CARMODTYPE_SPOILER, CertainCars_2}, //AQUI
{1002, "Drag Spoiler", CARMODTYPE_SPOILER, CertainCars_3},
{1003, "Alpha Spoiler", CARMODTYPE_SPOILER, CertainCars_4},
new CertainCars_2[] = {401, 405, 410, 415, 420, 426, 436, 439, 496, 518, 527, 529, 540, 546, 549, 550, 580, 603};
new AllComponents[MAX_COMPONENTS][ArrayComponent][] = { {1000, "Pro Spoiler", CARMODTYPE_SPOILER, CertainCars_1}}, {1001, "Win Spoiler", CARMODTYPE_SPOILER, CertainCars_2}}, {1002, "Drag Spoiler", CARMODTYPE_SPOILER, CertainCars_3}}, {1003, "Alpha Spoiler", CARMODTYPE_SPOILER, CertainCars_4}} };
new AllComponents[MAX_COMPONENTS][ArrayComponent] = { {1000, "Pro Spoiler", CARMODTYPE_SPOILER, CertainCars_1}, {1001, "Win Spoiler", CARMODTYPE_SPOILER, CertainCars_2}, //AQUI {1002, "Drag Spoiler", CARMODTYPE_SPOILER, CertainCars_3}, {1003, "Alpha Spoiler", CARMODTYPE_SPOILER, CertainCars_4},
Veja no que da, nгo testei por que estou pelo celular..
Код:
new AllComponents[MAX_COMPONENTS][ArrayComponent][] = { {1000, "Pro Spoiler", CARMODTYPE_SPOILER, CertainCars_1}}, {1001, "Win Spoiler", CARMODTYPE_SPOILER, CertainCars_2}}, {1002, "Drag Spoiler", CARMODTYPE_SPOILER, CertainCars_3}}, {1003, "Alpha Spoiler", CARMODTYPE_SPOILER, CertainCars_4}} }; |
Creio que isso resolva:
Код:
new AllComponents[MAX_COMPONENTS][ArrayComponent] = { {1000, "Pro Spoiler", CARMODTYPE_SPOILER, CertainCars_1}, {1001, "Win Spoiler", CARMODTYPE_SPOILER, CertainCars_2}, //AQUI {1002, "Drag Spoiler", CARMODTYPE_SPOILER, CertainCars_3}, {1003, "Alpha Spoiler", CARMODTYPE_SPOILER, CertainCars_4}, |
enum e_AlgumaCoisa {
UmaString[256],
UmInteiro,
Float:UmFloat,
bool:UmBoolean
};
new Array[MAX_PLAYERS][e_AlgumaCoisa];
Quando vocк insere um enum como parвmetro da array, ela ganha mais uma dimensгo.
Entгo, se... pawn Код:
Repense o modo que vocк estб fazendo seu cуdigo. |