new
FalseNitroVeh[][MAX_VEHICLES] =
{
"417",
"425",
"430",
"611"
};
for(new i = 0; i < MAX_VEHICLES; i++){
SetVehicleNumberPlate(i, "CFHS");
if(!strcmp(FalseNitroVeh[i], GetPlayerVehicleID(i), true))//Error line
{
//Nothing
}
else
{
AddVehicleComponent(GetPlayerVehicleID(i),1010);
//return 1;
}
SetVehicleToRespawn(i);
}
(error line) : error 035: argument type mismatch (argument 2) |
for(new i = 0; i < MAX_VEHICLES; i++){
SetVehicleNumberPlate(i, "CFHS");
switch(GetVehicleModel(i))
{
case 417,425,430,611: //if its one of these model id's
default: //if this is not the case
{
AddVehicleComponent(GetPlayerVehicleID(i),1010);
}
}
SetVehicleToRespawn(i);
}