FBIVehs

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Guten Tag,
    Ich wollte mal ein Godfather editieren nun hab ich ein problem mit den FBIVehs dort kommen Errors.


    Code:
    FBIVehs[1] = AddStaticVehicleEx(427,1225.4236,-1347.0593,13.1683,269.5216,0,0,respawntime); //Enforcer
    FBIVehs[2] = AddStaticVehicleEx(427,1225.4108,-1342.9906,13.1883,269.4408,0,0,respawntime); //Enforcer
    FBIVehs[3] = AddStaticVehicleEx(427,1225.4243,-1338.9290,13.2082,269.2752,respawntime); //Enforcer
    FBIVehs[4] = AddStaticVehicleEx(427,1225.4471,-1334.9077,13.1817,268.9897,respawntime); //Enforcer
    FBIVehs[5] = AddStaticVehicleEx(427,1225.6654,-1330.2389,13.2043,269.5638,0,0,respawntime); //S.W.A.T. Van
    FBIVehs[6] = AddStaticVehicleEx(447,1304.7888,-1358.8293,39.8183,89.2026,0,0,respawntime); //S.W.A.T. Van
    FBIVehs[7] = AddStaticVehicleEx(497,1312.9287,-1329.4323,37.0285,90.2323,0,0,respawntime); //S.W.A.T. Van
    FBIVehs[8] = AddStaticVehicleEx(497,1313.3436,-1315.0126,37.0218,90.3995,0,0,respawntime); //S.W.A.T. Van
    FBIVehs[9] = AddStaticVehicleEx(528,1266.9835,-1328.3539,13.1007,89.3059,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[10] = AddStaticVehicleEx(528,1260.7610,-1328.3685,13.1012,89.9685,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[11] = AddStaticVehicleEx(528,1253.9331,-1328.1875,13.1008,89.7165,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[12] = AddStaticVehicleEx(528,1266.8287,-1347.3297,13.2235,88.0934,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[13] = AddStaticVehicleEx(528,1260.2275,-1347.3414,13.1645,88.9706,0,0,respawntime); //FBI Truck
    FBIVehs[14] = AddStaticVehicleEx(528,1253.4846,-1347.4067,13.1055,89.7654,0,0,respawntime); //FBI Truck
    FBIVehs[15] = AddStaticVehicleEx(490,1219.7324,-1298.2380,13.3916,179.9536,0,0,respawntime); //FBI Truck
    FBIVehs[16] = AddStaticVehicleEx(490,1222.7560,-1298.3099,13.3898,179.1943,0,0,respawntime); //FBI Truck
    FBIVehs[17] = AddStaticVehicleEx(490,1225.7124,-1298.4241,13.3858,180.5847,0,0,respawntime); //FBI Rancher
    FBIVehs[18] = AddStaticVehicleEx(490,1228.6825,-1298.5508,13.3832,180.3721,0,0,respawntime); //FBI Rancher
    FBIVehs[19] = AddStaticVehicleEx(490,1231.7272,-1298.6626,13.3793,180.2725,0,0,respawntime); //FBI Rancher
    FBIVehs[20] = AddStaticVehicleEx(490,1234.6752,-1298.7421,13.3749,179.7954,0,0,respawntime); //FBI Rancher
    FBIVehs[21] = AddStaticVehicleEx(490,1237.7136,-1298.9230,13.3720,179.5169,0,0,respawntime); //FBI Rancher
    FBIVehs[22] = AddStaticVehicleEx(490,1240.5961,-1298.4884,13.3712,179.3867,0,0,respawntime); //FBI Rancher
    FBIVehs[23] = AddStaticVehicleEx(490,1243.6559,-1298.4833,13.3663,179.9178,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[24] = AddStaticVehicleEx(490,1246.6509,-1298.5619,13.3638,179.7791,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[25] = AddStaticVehicleEx(490,1249.6909,-1298.5251,13.3607,179.5953,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[26] = AddStaticVehicleEx(598,1264.4009,-1315.0415,12.9087,359.7708,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[27] = AddStaticVehicleEx(598,1261.5697,-1315.0020,12.9146,1.0281,0,0,respawntime); //Sultan
    FBIVehs[28] = AddStaticVehicleEx(598,1258.5175,-1315.0104,12.9179,359.9493,0,0,respawntime); //Sultan
    FBIVehs[29] = AddStaticVehicleEx(598,1255.2095,-1314.7870,12.9208,0.3513,0,0,respawntime); //NRG-500
    FBIVehs[30] = AddStaticVehicleEx(598,1219.8264,-1315.4680,12.9576,0.4428,0,0,respawntime); //NRG-500
    FBIVehs[31] = AddStaticVehicleEx(598,1222.7706,-1315.4465,12.9360,359.9978,0,0,respawntime); //Police Maverick
    FBIVehs[32] = AddStaticVehicleEx(598,1225.8794,-1315.3976,12.9154,359.7055,0,0,respawntime); //Police Maverick
    FBIVehs[33] = AddStaticVehicleEx(598,1228.8170,-1315.4907,12.8984,359.7690,0,0,respawntime); //Police Maverick
    FBIVehs[34] = AddStaticVehicleEx(598,1231.8369,-1315.4919,12.8791,0.1037,0,0,respawntime); //Police Maverick
    FBIVehs[35] = AddStaticVehicleEx(598,1235.0173,-1315.4559,12.8777,0.2727,0,0,respawntime);
    FBIVehs[36] = AddStaticVehicleEx(560,1222.1189,-1360.3851,12.6869,180.5403,0,0,respawntime);
    FBIVehs[37] = AddStaticVehicleEx(560,1225.1973,-1360.2391,12.6805,181.3079,0,0,respawntime);
    FBIVehs[38] = AddStaticVehicleEx(560,1227.9950,-1360.1929,12.6745,179.8916,0,0,respawntime);
    FBIVehs[39] = AddStaticVehicleEx(560,1231.3152,-1360.1981,12.6671,180.1379,0,0,respawntime);
    FBIVehs[40] = AddStaticVehicleEx(560,1266.7247,-1359.9810,12.6177,180.8067,0,0,respawntime);
    FBIVehs[41] = AddStaticVehicleEx(560,1263.8931,-1360.0040,12.6022,179.1187,0,0,respawntime);
    FBIVehs[42] = AddStaticVehicleEx(560,1260.7950,-1359.9703,12.5873,179.6989,0,0,respawntime);
    FBIVehs[43] = AddStaticVehicleEx(560,1257.8684,-1359.9268,12.5766,179.1848,0,0,respawntime);
    FBIVehs[44] = AddStaticVehicleEx(560,1254.8174,-1360.0122,12.5648,179.5984,0,0,respawntime);
    FBIVehs[45] = AddStaticVehicleEx(560,1251.7432,-1359.9617,12.5677,180.5270,0,0,respawntime);
    FBIVehs[46] = AddStaticVehicleEx(541,1222.0291,-1376.8237,12.6419,1.2537,0,0,respawntime);
    FBIVehs[47] = AddStaticVehicleEx(541,1225.2701,-1376.7904,12.6319,359.5228,0,,respawntime);//Error ist hier
    FBIVehs[48] = AddStaticVehicleEx(451,1228.0847,-1377.0468,12.7033,359.2090,0,0,respawntime);
    FBIVehs[49] = AddStaticVehicleEx(451,1231.2623,-1377.1052,12.7007,1.0730,0,0,respawntime);
    FBIVehs[50] = AddStaticVehicleEx(415,1234.0846,-1377.2020,12.7641,0.3715,0,0,respawntime);
    FBIVehs[51] = AddStaticVehicleEx(415,1237.1178,-1377.2749,12.7578,359.5488,0,0,respawntime);
    FBIVehs[52] = AddStaticVehicleEx(411,1240.0466,-1377.5660,12.7083,359.7589,0,0,respawntime);
    FBIVehs[53] = AddStaticVehicleEx(411,1242.9413,-1377.3365,12.7018,0.3522,0,0,respawntime);
    FBIVehs[54] = AddStaticVehicleEx(411,1246.1027,-1377.2965,12.6972,0.6001,0,0,respawntime);
    FBIVehs[55] = AddStaticVehicleEx(411,1248.9978,-1377.1736,12.6940,0.3379,0,0,respawntime);
    FBIVehs[56] = AddStaticVehicleEx(601,1267.0201,-1377.5623,12.7079,0.3524,0,0,respawntime);
    FBIVehs[57] = AddStaticVehicleEx(522,1272.2183,-1374.4269,12.9740,309.1765,0,0,respawntime);
    FBIVehs[58] = AddStaticVehicleEx(522,1271.9954,-1372.6798,12.9823,314.5420,0,0,respawntime);
    FBIVehs[59] = AddStaticVehicleEx(522,1272.3123,-1370.6543,12.9892,309.9384,0,0,respawntime);
    FBIVehs[60] = AddStaticVehicleEx(522,1272.3547,-1368.9398,13.0031,308.5072,0,0,respawntime);
    FBIVehs[61] = AddStaticVehicleEx(522,1272.1960,-1367.2295,13.0184,305.3183,0,0,respawntime);



    Error:
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15799) : warning 202: number of arguments does not match definition
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15799) : warning 202: number of arguments does not match definition
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15800) : warning 202: number of arguments does not match definition
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15800) : warning 202: number of arguments does not match definition
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15843) : error 029: invalid expression, assumed zero
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15843) : warning 215: expression has no effect
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15843) : error 001: expected token: ";", but found ")"
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15843) : error 029: invalid expression, assumed zero
    C:\Users\Brandon\Desktop\Edit\Edit\gamemodes\Edit.pwn(15843) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.

  • Jetzt hab ich nur noch diesen Error:
    15857) : error 032: array index out of bounds (variable "FBIVehs")
    1 Error.[/pwn]


    Code:
    FBIVehs[1] = AddStaticVehicleEx(427,1225.4236,-1347.0593,13.1683,269.5216,0,0,respawntime); //Enforcer


    //Edit Warnings behoben
    FBIVehs[2] = AddStaticVehicleEx(427,1225.4108,-1342.9906,13.1883,269.4408,0,0,respawntime); //Enforcer
    FBIVehs[3] = AddStaticVehicleEx(427,1225.4243,-1338.9290,13.2082,269.2752,respawntime); //Enforcer
    FBIVehs[4] = AddStaticVehicleEx(427,1225.4471,-1334.9077,13.1817,268.9897,respawntime); //Enforcer
    FBIVehs[5] = AddStaticVehicleEx(427,1225.6654,-1330.2389,13.2043,269.5638,0,0,respawntime); //S.W.A.T. Van
    FBIVehs[6] = AddStaticVehicleEx(447,1304.7888,-1358.8293,39.8183,89.2026,0,0,respawntime); //S.W.A.T. Van
    FBIVehs[7] = AddStaticVehicleEx(497,1312.9287,-1329.4323,37.0285,90.2323,0,0,respawntime); //S.W.A.T. Van
    FBIVehs[8] = AddStaticVehicleEx(497,1313.3436,-1315.0126,37.0218,90.3995,0,0,respawntime); //S.W.A.T. Van
    FBIVehs[9] = AddStaticVehicleEx(528,1266.9835,-1328.3539,13.1007,89.3059,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[10] = AddStaticVehicleEx(528,1260.7610,-1328.3685,13.1012,89.9685,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[11] = AddStaticVehicleEx(528,1253.9331,-1328.1875,13.1008,89.7165,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[12] = AddStaticVehicleEx(528,1266.8287,-1347.3297,13.2235,88.0934,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[13] = AddStaticVehicleEx(528,1260.2275,-1347.3414,13.1645,88.9706,0,0,respawntime); //FBI Truck
    FBIVehs[14] = AddStaticVehicleEx(528,1253.4846,-1347.4067,13.1055,89.7654,0,0,respawntime); //FBI Truck
    FBIVehs[15] = AddStaticVehicleEx(490,1219.7324,-1298.2380,13.3916,179.9536,0,0,respawntime); //FBI Truck
    FBIVehs[16] = AddStaticVehicleEx(490,1222.7560,-1298.3099,13.3898,179.1943,0,0,respawntime); //FBI Truck
    FBIVehs[17] = AddStaticVehicleEx(490,1225.7124,-1298.4241,13.3858,180.5847,0,0,respawntime); //FBI Rancher
    FBIVehs[18] = AddStaticVehicleEx(490,1228.6825,-1298.5508,13.3832,180.3721,0,0,respawntime); //FBI Rancher
    FBIVehs[19] = AddStaticVehicleEx(490,1231.7272,-1298.6626,13.3793,180.2725,0,0,respawntime); //FBI Rancher
    FBIVehs[20] = AddStaticVehicleEx(490,1234.6752,-1298.7421,13.3749,179.7954,0,0,respawntime); //FBI Rancher
    FBIVehs[21] = AddStaticVehicleEx(490,1237.7136,-1298.9230,13.3720,179.5169,0,0,respawntime); //FBI Rancher
    FBIVehs[22] = AddStaticVehicleEx(490,1240.5961,-1298.4884,13.3712,179.3867,0,0,respawntime); //FBI Rancher
    FBIVehs[23] = AddStaticVehicleEx(490,1243.6559,-1298.4833,13.3663,179.9178,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[24] = AddStaticVehicleEx(490,1246.6509,-1298.5619,13.3638,179.7791,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[25] = AddStaticVehicleEx(490,1249.6909,-1298.5251,13.3607,179.5953,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[26] = AddStaticVehicleEx(598,1264.4009,-1315.0415,12.9087,359.7708,0,0,respawntime); //Police Car (LVPD)
    FBIVehs[27] = AddStaticVehicleEx(598,1261.5697,-1315.0020,12.9146,1.0281,0,0,respawntime); //Sultan
    FBIVehs[28] = AddStaticVehicleEx(598,1258.5175,-1315.0104,12.9179,359.9493,0,0,respawntime); //Sultan
    FBIVehs[29] = AddStaticVehicleEx(598,1255.2095,-1314.7870,12.9208,0.3513,0,0,respawntime); //NRG-500
    FBIVehs[30] = AddStaticVehicleEx(598,1219.8264,-1315.4680,12.9576,0.4428,0,0,respawntime); //NRG-500
    FBIVehs[31] = AddStaticVehicleEx(598,1222.7706,-1315.4465,12.9360,359.9978,0,0,respawntime); //Police Maverick
    FBIVehs[32] = AddStaticVehicleEx(598,1225.8794,-1315.3976,12.9154,359.7055,0,0,respawntime); //Police Maverick
    FBIVehs[33] = AddStaticVehicleEx(598,1228.8170,-1315.4907,12.8984,359.7690,0,0,respawntime); //Police Maverick
    FBIVehs[34] = AddStaticVehicleEx(598,1231.8369,-1315.4919,12.8791,0.1037,0,0,respawntime); //Police Maverick
    FBIVehs[35] = AddStaticVehicleEx(598,1235.0173,-1315.4559,12.8777,0.2727,0,0,respawntime);
    FBIVehs[36] = AddStaticVehicleEx(560,1222.1189,-1360.3851,12.6869,180.5403,0,0,respawntime);
    FBIVehs[37] = AddStaticVehicleEx(560,1225.1973,-1360.2391,12.6805,181.3079,0,0,respawntime);
    FBIVehs[38] = AddStaticVehicleEx(560,1227.9950,-1360.1929,12.6745,179.8916,0,0,respawntime);
    FBIVehs[39] = AddStaticVehicleEx(560,1231.3152,-1360.1981,12.6671,180.1379,0,0,respawntime);
    FBIVehs[40] = AddStaticVehicleEx(560,1266.7247,-1359.9810,12.6177,180.8067,0,0,respawntime);
    FBIVehs[41] = AddStaticVehicleEx(560,1263.8931,-1360.0040,12.6022,179.1187,0,0,respawntime);
    FBIVehs[42] = AddStaticVehicleEx(560,1260.7950,-1359.9703,12.5873,179.6989,0,0,respawntime);
    FBIVehs[43] = AddStaticVehicleEx(560,1257.8684,-1359.9268,12.5766,179.1848,0,0,respawntime);
    FBIVehs[44] = AddStaticVehicleEx(560,1254.8174,-1360.0122,12.5648,179.5984,0,0,respawntime);
    FBIVehs[45] = AddStaticVehicleEx(560,1251.7432,-1359.9617,12.5677,180.5270,0,0,respawntime);
    FBIVehs[46] = AddStaticVehicleEx(541,1222.0291,-1376.8237,12.6419,1.2537,0,0,respawntime);
    FBIVehs[47] = AddStaticVehicleEx(541,1225.2701,-1376.7904,12.6319,359.5228,0,0,respawntime);
    FBIVehs[48] = AddStaticVehicleEx(451,1228.0847,-1377.0468,12.7033,359.2090,0,0,respawntime);
    FBIVehs[49] = AddStaticVehicleEx(451,1231.2623,-1377.1052,12.7007,1.0730,0,0,respawntime);
    FBIVehs[50] = AddStaticVehicleEx(415,1234.0846,-1377.2020,12.7641,0.3715,0,0,respawntime);
    FBIVehs[51] = AddStaticVehicleEx(415,1237.1178,-1377.2749,12.7578,359.5488,0,0,respawntime);
    FBIVehs[52] = AddStaticVehicleEx(411,1240.0466,-1377.5660,12.7083,359.7589,0,0,respawntime);
    FBIVehs[53] = AddStaticVehicleEx(411,1242.9413,-1377.3365,12.7018,0.3522,0,0,respawntime);
    FBIVehs[54] = AddStaticVehicleEx(411,1246.1027,-1377.2965,12.6972,0.6001,0,0,respawntime);
    FBIVehs[55] = AddStaticVehicleEx(411,1248.9978,-1377.1736,12.6940,0.3379,0,0,respawntime);
    FBIVehs[56] = AddStaticVehicleEx(601,1267.0201,-1377.5623,12.7079,0.3524,0,0,respawntime);
    FBIVehs[57] = AddStaticVehicleEx(522,1272.2183,-1374.4269,12.9740,309.1765,0,0,respawntime);
    FBIVehs[58] = AddStaticVehicleEx(522,1271.9954,-1372.6798,12.9823,314.5420,0,0,respawntime);
    FBIVehs[59] = AddStaticVehicleEx(522,1272.3123,-1370.6543,12.9892,309.9384,0,0,respawntime);
    FBIVehs[60] = AddStaticVehicleEx(522,1272.3547,-1368.9398,13.0031,308.5072,0,0,respawntime);
    FBIVehs[61] = AddStaticVehicleEx(522,1272.1960,-1367.2295,13.0184,305.3183,0,0,respawntime);//Error ist hier

    Einmal editiert, zuletzt von Zreeq ()