Hilfe bei 2 Errors

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
  • Hallo undzwar bräuchte ich mal einbischen Hilfe :D


    new Fraktionsbase[MAX_FBASES][Fraktbase_info] =
    {
    //{fbasefraktid,Float:fbaseenterX,Float:fbaseenterY,Float:fbaseenterZ,Float:fbaseexitX,Float:fbaseexitY,Float:fbaseexitZ,fbasevirtualworld,fbaseinterior,fbaselocked,Float:fbasehealX,Float:fbasehealY,Float:fbasehealZ,Float:fbasearmourX,Float:fbasearmourY,Float:fbasearmourZ,fbase3DText[64],waffen x,y,z,fbank x,y,z}
    {4,2628.1016,-1067.8665,69.7156,318.5893,1114.4812,1083.8828,0,5,0,328.7310,1118.8748,1083.8903,330.3812,1118.9000,1083.8903,"Los Santos Vagos",308.1615,1120.4514,1083.8828,330.9967,1128.6311,1083.8828},
    {5,2495.2678,-1691.1339,14.7656,1339.6593,67.6444,1001.0078,0,0,0,1342.0839,48.6723,1001.0156,1343.2273,48.4540,1001.0156,"Grove Street",1335.5052,48.8157,1001.0156,1336.1100,51.1716,1004.6024},
    {7,2148.9333,-1484.8872,26.6241,2468.8423,-1698.3059,1013.5078,0,2,0,2451.9612,-1691.6211,1013.5078,2448.4592,-1686.0052,1013.5078,"Saint Jefferson Ballas",2455.9204,-1700.5187,1013.5078,2452.0872,-1705.9497,1013.5078},
    {8,-795.9711,2259.5957,59.4689,301.9699,300.3623,999.1484,0,4,1,300.3038,309.2234,1003.3047,300.1283,311.0724,1003.3047,"Ferienresidenz des Präsidenten",301.3344,301.8218,1003.5391,310.6602,301.3806,1003.3047},
    {9,2019.6256,1007.7311,10.8203,-2158.5630,643.1387,1052.3750,0,1,0,-2158.9187,638.0674,1057.5861,-2161.6196,638.3036,1057.5861,"Yakuza",-2170.8225,646.1621,1052.3750,-2164.7407,646.3604,1057.5938},
    {10,1571.2148,-1244.9180,19.2007,846.0200,-1047.6700,25.9759,1,0,0,857.8475,-1040.2709,25.9659,856.3990,-1041.1320,25.9859,"San Andreas News Corporation",837.6522,-1055.8340,31.0769,855.5423,-1042.6620,25.9859},
    {12,1491.3640,-675.2994,94.7500,235.3846,1186.6792,1080.2578,0,3,0,241.5029,1195.0684,1080.2578,240.4446,1194.8423,1080.2578,"La Cosa Nostra",244.3867,1193.3354,1080.2578,225.3109,1191.8138,1084.4135},
    {13,1898.6696,-1985.4221,13.5469,-42.5597,1405.4688,1084.4297,0,8,0,-45.9164,1399.2355,1084.4297,-45.9194,1401.3075,1084.4370,"Sureno Syndikat",-51.8148,1399.2540,1084.4297,-51.8147,1398.1486,1084.4297},
    {14,-2026.5214,-102.0164,35.1641,-2029.7653,-119.6231,1035.1719,0,3,0,-2026.2738,-103.9300,1035.1719,-2026.2728,-104.5564,1035.1719,"San Andreas Driving School",-2028.0179,-114.1512,1035.1719,-2027.7834,-106.2398,1035.1719},
    {15,2266.2271,-2826.2830,15.1709,-959.6162,1956.4586,9.0000,0,17,0,-961.2554,1929.2098,9.0000,-961.2992,1931.1406,9.0000,"San Andreas Electrical Service",-954.2227,1925.7091,9.0000,-956.3649,1923.4722,9.0000},
    {16,1122.7081,-2036.9202,69.8942,1260.6470,-785.5758,1091.9063,0,5,1,1224.9095,-806.7188,1084.0078,1225.2458,-808.6174,1084.0078,"Regierung von San Andreas",1235.3932,-807.4854,1084.0078,1230.6742,-807.1732,1084.0078},
    {17,2628.0818,2349.3281,10.8203,140.3200,1365.9290,1083.8594,0,5,1,136.5506,1382.6935,1088.3672,135.2326,1382.8571,1088.3672,"West Coast Custom",147.5291,1366.8257,1083.8594,141.1725,1382.5586,1083.8672}, {18,1798.2192,-1578.6389,14.0901,1267.663208,-781.323242,1091.906250,1,5,1,1224.9095,-806.7188,1084.0078,1225.2458,-808.6174,1084.0078,"Richter",1235.3932,-807.4854,1084.0078,1230.6742,-807.1732,1084.0078}
    };


    C:\Users\Maxi\Desktop\Sunshine-Roleplay\gamemodes\sRP.pwn(3257) : error 018: initialization data exceeds declared size
    C:\Users\Maxi\Desktop\Sunshine-Roleplay\gamemodes\sRP.pwn(3259) : error 010: invalid function or declaration

    Einmal editiert, zuletzt von maax97 ()

  • Der Aray ist klein du musst ihn vergrößern und die zeile ist glaub ich zu lang{17,2628.0818,2349.3281,10.8203,140.3200,1365.9290,1083.8594,0,5,1,136.5506,1382.6935,1088.3672,135.2326,1382.8571,1088.3672,"West Coast Custom",147.5291,1366.8257,1083.8594,141.1725,1382.5586,1083.8672}, {18,1798.2192,-1578.6389,14.0901,1267.663208,-781.323242,1091.906250,1,5,1,1224.9095,-806.7188,1084.0078,1225.2458,-808.6174,1084.0078,"Richter",1235.3932,-807.4854,1084.0078,1230.6742,-807.1732,1084.0078}