Habe folgedes:
hi erstmal^^
also habe folgendes Problem:
Wenn ich es so habe:
for(new h = 0; h < sizeof(HouseInfo); h++)
{
AddStaticVehicleEx(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 60000);
gCarLock[h+1] = 1;
}//34
Truck[0] = AddStaticVehicleEx(435,-42.9107,-1153.9403,1.5988,21.0342,1,1,450);// truck anhänger
Truck[1] = AddStaticVehicleEx(514,-46.1567,-1135.6326,1.6620,69.7072,75,74,450);// truck
Truck[2] = AddStaticVehicleEx(435,-49.2451,-1152.2308,1.5519,25.5559,2,2,450);// truckanhänger,
Truck[3] = AddStaticVehicleEx(514,-77.7097,-1106.7234,1.6424,160.8279,34,76,450);// truck
Truck[4] = AddStaticVehicleEx(584,-56.5836,-1148.2629,2.0083,26.8748,1,1,450);// truckanhänger
Truck[5] = AddStaticVehicleEx(584,-63.3182,-1144.8254,2.0593,24.9174,1,1,450);// truckanhänger
Truck[6] = AddStaticVehicleEx(515,-67.2854,-1120.0187,2.1079,68.9026,2,61,450);// truck
Truck[7] = AddStaticVehicleEx(403,-63.6315,-1110.7302,1.6832,70.0995,3,3,450);// truck
Truck[8] = AddStaticVehicleEx(435,-29.8081,-1125.4237,1.5893,157.1180,1,1,450);// truckanhängerr
Truck[9] = AddStaticVehicleEx(515,-58.1257,-1131.2395,2.0920,69.6611,3,93,450); // noch truck
Truck[10] = AddStaticVehicleEx(482,2795.2,-2417.8,13.4,90.8,-1,-1,60000);//Component Truck Burrito
Truck[11] = AddStaticVehicleEx(482,2783.9,-2417.9,13.4,90.8,-1,-1,60000);//Component Truck Burrito
Truck[12] = AddStaticVehicleEx(498,2794.1,-2455.9,13.4,90.8,-1,-1,60000);//Component Truck Boxville
Truck[13] = AddStaticVehicleEx(498,2782.9,-2455.6,13.4,90.8,-1,-1,60000);//Component Truck Boxville
Truck[14] = AddStaticVehicleEx(499,2792.6001,-2494.5908,13.6306,92.4135,-1,-1,60000);//Component Truck Benson
Truck[15] = AddStaticVehicleEx(499,2780.6807,-2494.0886,13.6497,90.4752,-1,-1,60000);//Component Truck Benson
Dann wird nur 1 Auto erstellt, und habe es debugged, und ab Test 4 geht es net mehr weiter, müsste eig. bis Test10 gehen.
Wenn ich es deaktiviere, sprich:
/*for(new h = 0; h < sizeof(HouseInfo); h++)
{
AddStaticVehicleEx(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 60000);
gCarLock[h+1] = 1;
}//34*/
Truck[0] = AddStaticVehicleEx(435,-42.9107,-1153.9403,1.5988,21.0342,1,1,450);// truck anhänger
Truck[1] = AddStaticVehicleEx(514,-46.1567,-1135.6326,1.6620,69.7072,75,74,450);// truck
Truck[2] = AddStaticVehicleEx(435,-49.2451,-1152.2308,1.5519,25.5559,2,2,450);// truckanhänger,
Truck[3] = AddStaticVehicleEx(514,-77.7097,-1106.7234,1.6424,160.8279,34,76,450);// truck
Truck[4] = AddStaticVehicleEx(584,-56.5836,-1148.2629,2.0083,26.8748,1,1,450);// truckanhänger
Truck[5] = AddStaticVehicleEx(584,-63.3182,-1144.8254,2.0593,24.9174,1,1,450);// truckanhänger
Truck[6] = AddStaticVehicleEx(515,-67.2854,-1120.0187,2.1079,68.9026,2,61,450);// truck
Truck[7] = AddStaticVehicleEx(403,-63.6315,-1110.7302,1.6832,70.0995,3,3,450);// truck
Truck[8] = AddStaticVehicleEx(435,-29.8081,-1125.4237,1.5893,157.1180,1,1,450);// truckanhängerr
Truck[9] = AddStaticVehicleEx(515,-58.1257,-1131.2395,2.0920,69.6611,3,93,450); // noch truck
Truck[10] = AddStaticVehicleEx(482,2795.2,-2417.8,13.4,90.8,-1,-1,60000);//Component Truck Burrito
Truck[11] = AddStaticVehicleEx(482,2783.9,-2417.9,13.4,90.8,-1,-1,60000);//Component Truck Burrito
Truck[12] = AddStaticVehicleEx(498,2794.1,-2455.9,13.4,90.8,-1,-1,60000);//Component Truck Boxville
Truck[13] = AddStaticVehicleEx(498,2782.9,-2455.6,13.4,90.8,-1,-1,60000);//Component Truck Boxville
Truck[14] = AddStaticVehicleEx(499,2792.6001,-2494.5908,13.6306,92.4135,-1,-1,60000);//Component Truck Benson
Truck[15] = AddStaticVehicleEx(499,2780.6807,-2494.0886,13.6497,90.4752,-1,-1,60000);//Component Truck Benson
Dannn gehts, sprich alle autos werden geladen, und es geht von Test1 bis Test10.
MfG
DerUnbekannti