Hallo liebe Community,
mein Problem ist das ich die Koordinaten von Pickups in einem Enum hab und es werden zwei nicht geladen.
Mein Code:
enum buildingsEnum{
Float:b_x,
Float:b_y,
Float:b_z,
Float:b_sx,
Float:b_sy,
Float:b_sz,
Float:b_ix,
Float:b_iy,
Float:b_iz,
Float:b_six,
Float:b_siy,
Float:b_siz,
b_interior,
Float:b_spawnx,
Float:b_spawny,
Float:b_spawnz,
b_shopname[64]
}
new bInfo[][buildingsEnum] = {//AUSSEN-PICKUP, EXIT-SPAWN, INNEN-PICKUP, INTERIOR-SPAWN
{1789.4702,-1295.9545,13.5598,1789.4702,-1295.9545,13.4597,1803.1923,-1298.2323,82.2460,1800.4341,-1299.7035,82.1459,0,0.0,0.0,0.0,"Zivilspawn"},//Zivilspawn
{1199.2667,-918.4944,43.2206,1198.0889,-920.8557,43.0403,363.0327,-74.9503,1001.6079,365.1226,-73.9612,1001.5078,10,0.0,0.0,0.0,"Burgershot Nord"},//LS BSN
{1368.2289,-1279.8066,13.6470,1366.3708,-1279.9669,13.5469,315.7064,-143.5418,999.7017,314.3075,-141.1259,999.6016,7,0.0,0.0,0.0,"Waffenladen"},//LS Waffenladen
{1153.4393,-1318.2325,15.3460,1152.7239,-1322.3441,13.8826,-2036.0121,-58.1286,1061.0917,-2034.0125,-57.3055,1060.9916,0,-1992.7455,-78.8729,1060.9877,"Krankenhaus"},//LS Krankenhaus
{1462.3456,-1010.5144,26.9438,1462.3407,-1014.2900,26.6298,2304.9282,-16.1579,26.8423,2307.7976,-16.3576,26.7496,0,0.0,0.0,0.0,"Bank of San Andreas"},//LS Bank
{1481.3795,-1819.1378,15.6367,1481.0818,-1816.9515,15.3840,389.9506,173.6876,1008.4829,384.808624,173.804992,1008.382812,3,0.0,0.0,0.0,"Stadthalle"},//LS Stadthalle
{1548.4781,-1673.6023,13.5476,1546.9281,-1673.1544,13.4476,288.6916,167.5339,1007.2720,288.745971,169.350997,1007.171875,3,216.4410,168.5336,1003.0234,"Los Santos - Police Department"},//LSPD
{1743.0194,-1863.3376,13.6753,1742.7118,-1861.2164,13.5778,-2158.6108,642.7610,1052.4751,-2159.1228,641.5175,1052.3817,1,-2170.6138,638.6362,1057.5997,"Taxizentrale"},//LS Taxibase
{595.6693,-1250.7739,18.3997,593.2079,-1248.6953,18.1762,240.7322,75.8566,1005.1392,238.6056,75.9947,1005.0391,6,234.3555,72.2012,1005.0391,"San Andreas News AG"},//News AG
{919.4656,-1252.1716,16.3110,916.6663,-1252.9513,15.6641,322.3466,302.7425,999.2485,322.0825,304.6203,999.1484,5,322.3232,308.1683,999.1484,"Ordnungsamt"},//Ordnungsamt
{2244.5574,-1665.1196,15.5767,2245.3508,-1662.6350,15.4690,207.7149,-111.0163,1005.2329,207.737991,-109.019996,1005.132812,15,0.0,0.0,0.0,"Umziehladen:\nBinco"},//Binco
{810.6122,-1616.2349,13.5469,813.6622,-1616.2539,13.5547,363.0327,-74.9503,1001.6079,365.1226,-73.9612,1001.5078,10,0.0,0.0,0.0,"Burgershot Süd"},//LS BSS
{928.6077,-1352.8959,13.3438,926.6429,-1352.9110,13.3767,0.0,0.0,0.0,369.579528,-4.487294,1001.858886,9,0.0,0.0,0.0,"Cluckin' bell"}//Cluckin' bell in LS
};
for(new i=0; i<sizeof(bInfo); i++)
{
CreatePickup(1559,1,bInfo[i][b_x],bInfo[i][b_y],bInfo[i][b_z],-1);
CreatePickup(1559,1,bInfo[i][b_ix],bInfo[i][b_iy],bInfo[i][b_iz],-1);
Create3DTextLabel(bInfo[i][b_shopname],Blau,bInfo[i][b_x],bInfo[i][b_y],bInfo[i][b_z]+0.5,40.0,0,0);
}
Der Bürgershot Süd und der Cluckin´bell werden nicht geladen, also die letzen beiden. Ich hoffe ihr könnt mir helfen.
Mit freundlichen Grüßen,
DexterA1