View Single Post
lisauro
New Member
Join Date: Oct 2020
Old 10-13-2020 , 02:13   Re: error 035: argument type mismatch (argument 1)
Reply With Quote #3

All script is over 100k lines.
I don't know, maybe this part can help to identify error.
Code:
{
	new carid = AddStaticVehicleEx(model, x, y, z, a, color_1, color_2, spawntime);
	VehicleInfo[carid][vAntiRepair]=2;
	VehicleInfo[carid][vLock]=0;
	VehicleInfo[carid][vModel] = model;
	VehicleInfo[carid][vPos_X] = x;
	VehicleInfo[carid][vPos_Y] = y;
	VehicleInfo[carid][vPos_Z] = z;
	VehicleInfo[carid][vPos_A] = a;
	VehicleInfo[carid][vColor_1] = color_1;
	VehicleInfo[carid][vColor_2] = color_2;
	VehicleInfo[carid][vSpawnTime] = spawntime;
	LinkVehicleToInterior(carid, interior);
	SetVehicleVirtualWorld(carid, world);
	VehicleInfo[carid][vTuning] = GetVehicleTuningState( model );
	switch(model)
	{
	case 430, 446, 452, 453, 454, 472, 473, 484, 493: VehicleState[carid] = VEHICLE_STATE_BOAT;
	case 417, 425, 447, 460, 469, 476, 487, 488, 497,465, 511, 512, 513, 519, 520, 548, 553,
		563, 577, 592, 593:  VehicleState[carid] = VEHICLE_STATE_PLANE;
	case 581, 522, 461, 521, 523, 463, 468, 471, 586: VehicleState[carid] = VEHICLE_STATE_BIKE;
	case 509, 481, 510: VehicleState[carid] = VEHICLE_STATE_VELIK;
	case 462,448: VehicleState[carid] = VEHICLE_STATE_MOPED;
	case 538, 537: VehicleState[carid] = VEHICLE_STATE_TRAIN;
	default: VehicleState[carid] = VEHICLE_STATE_CAR;
	}
	return carid;
}
lisauro is offline