22.12.2018, 09:55
new vehid1 = NVTransportas[0] = CreateVehicle(583, -3779.2019, -1880.6560, 5.2844, 90.0000, -1, -1, 100);
new vehid2 = NVTransportas[1] = CreateVehicle(583, -3778.9314, -1884.0042, 5.2844, 90.0000, -1, -1, 100);
new vehid3 = NVTransportas[2] = CreateVehicle(583, -3778.3508, -1887.5313, 5.2844, 90.0000, -1, -1, 100);
new vehid4 = NVTransportas[3] = CreateVehicle(583, -3777.9119, -1890.9458, 5.2844, 90.0000, -1, -1, 100);
//--------------------------------------------------------------------------------------------------------//
new utilitytrailer1 = CreateVehicle(611, -3775.2961, -1880.6464, 5.4584, 90.0000, -1, -1, 100);
new utilitytrailer2 = CreateVehicle(611, -3775.0056, -1884.0587, 5.4584, 90.0000, -1, -1, 100);
new utilitytrailer3 = CreateVehicle(611, -3774.0906, -1890.9784, 5.4584, 90.0000, -1, -1, 100);
new utilitytrailer4 = CreateVehicle(611, -3774.3333, -1887.6206, 5.4584, 90.0000, -1, -1, 100);
//--------------------------------------------------------------------------------------------------------//
AttachTrailerToVehicle(utilitytrailer1, vehid1);
AttachTrailerToVehicle(utilitytrailer2, vehid2);
AttachTrailerToVehicle(utilitytrailer3, vehid3);
AttachTrailerToVehicle(utilitytrailer4, vehid4);
Why attach is not working?
new vehid2 = NVTransportas[1] = CreateVehicle(583, -3778.9314, -1884.0042, 5.2844, 90.0000, -1, -1, 100);
new vehid3 = NVTransportas[2] = CreateVehicle(583, -3778.3508, -1887.5313, 5.2844, 90.0000, -1, -1, 100);
new vehid4 = NVTransportas[3] = CreateVehicle(583, -3777.9119, -1890.9458, 5.2844, 90.0000, -1, -1, 100);
//--------------------------------------------------------------------------------------------------------//
new utilitytrailer1 = CreateVehicle(611, -3775.2961, -1880.6464, 5.4584, 90.0000, -1, -1, 100);
new utilitytrailer2 = CreateVehicle(611, -3775.0056, -1884.0587, 5.4584, 90.0000, -1, -1, 100);
new utilitytrailer3 = CreateVehicle(611, -3774.0906, -1890.9784, 5.4584, 90.0000, -1, -1, 100);
new utilitytrailer4 = CreateVehicle(611, -3774.3333, -1887.6206, 5.4584, 90.0000, -1, -1, 100);
//--------------------------------------------------------------------------------------------------------//
AttachTrailerToVehicle(utilitytrailer1, vehid1);
AttachTrailerToVehicle(utilitytrailer2, vehid2);
AttachTrailerToVehicle(utilitytrailer3, vehid3);
AttachTrailerToVehicle(utilitytrailer4, vehid4);
Why attach is not working?