20.11.2018, 13:40
(
Последний раз редактировалось Electrifying; 20.11.2018 в 19:51.
)
Novamente venho aqui para pedir ajuda com arrays, agora ajeitei grande parte dos problemas mas estou recebendo esse erro:
Esse erro sу ocorre quando eu adiciono "vehiclemodel" pra verificar o carro que o veнculo estб usando e mostrar os componentes
linha do cуdigo
Agradeзo а quem ajudar.
Код:
error 010: invalid function or declaration error 001: expected token: ",", but found "[" error 029: invalid expression, assumed zero warning 215: expression has no effect error 001: expected token: ";", but found "]" fatal error 107: too many error messages on one line
PHP код:
{1188, "Slamin Front Bumper", CARMODTYPE_FRONT_BUMPER, {567}},
{1189, "Chrome Front Bumper", CARMODTYPE_FRONT_BUMPER, {567}},
{1190, "Slamin Front Bumper", CARMODTYPE_FRONT_BUMPER, {576}},
{1191, "Chrome Front Bumper", CARMODTYPE_FRONT_BUMPER, {576}},
{1192, "Chrome Rear Bumper", CARMODTYPE_REAR_BUMPER, {576}},
{1193, "Slamin Rear Bumper", CARMODTYPE_REAR_BUMPER, {576}}
}; //Final da array erro 010
PHP код:
format(strcomponent, sizeof(strcomponent), "%s", AllComponents[0][cName][CARMODTYPE_SPOILER][vehiclemodel]); //error 001 atй 107
linha do cуdigo
PHP код:
new vehiclemodel = GetVehicleModel(GetPlayerVehicleID(playerid));