Hilfe problem mit objecten

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 ich kann bei einem gamemod keine objecte rein machen


    xObject Streamer is drin geht auch alles aber wen ich eine neue map einfüge bum 1 error



    PHP
    C:\Dokumente und Einstellungen\Alexander\Desktop\Stunt\gamemodes\freeroam.pwn(649) : error 001: expected token: "}", but found "{"
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    
    
    1 Error.


    was is da los?

  • {13666, 834.2636, -2065.7598, 16.8975, 0.0000, 0.0000, 98.8352, 500.0},
    {13666, 834.3015, -2069.1807, 16.8989, 0.0000, 0.0000, 98.8352, 500.0},
    {13666, 834.3679, -2072.5085, 16.9537, 0.0000, 2.5783, 98.8352, 500.0},
    {13666, 834.2828, -2075.8958, 17.2099, 0.0000, 6.0161, 96.2569, 500.0},
    {13666, 833.9448, -2079.0571, 17.5482, 0.0000, 8.5944, 91.1003, 500.0},
    {13666, 833.4271, -2082.1565, 18.0416, 0.0000, 11.1727, 86.8032, 500.0},
    {13666, 832.6887, -2085.4158, 18.6560, 0.0000, 11.1727, 86.8032, 500.0},
    {13666, 831.8886, -2088.6333, 19.4319, 0.0000, 16.3293, 81.6465, 500.0},
    {13666, 830.8672, -2091.6201, 20.6461, 0.0000, 23.2048, 77.3494, 500.0},
    {13666, 829.9260, -2093.8059, 21.6910, 0.0000, 26.6425, 73.9116, 500.0},
    {13666, 828.6838, -2096.2495, 23.3180, 0.0000, 32.6586, 69.6144, 500.0},
    {13666, 827.0868, -2098.5867, 25.1450, 0.0000, 35.2369, 65.3172, 500.0},
    {13666, 825.3143, -2100.5029, 26.9665, 0.0000, 36.0963, 57.5823, 500.0},
    {13666, 823.3654, -2102.2830, 28.7983, 0.0000, 36.9558, 51.5663, 500.0},
    {13666, 821.5090, -2103.8242, 30.5063, 0.0000, 38.6747, 46.4096, 500.0},
    {13666, 819.2280, -2105.2117, 32.5758, 0.0000, 39.5341, 41.2531, 500.0},
    {13666, 817.1938, -2106.2070, 34.2552, 0.0000, 39.5341, 33.5181, 500.0},
    {13666, 815.2654, -2106.8220, 35.7638, 0.0000, 39.5341, 25.7832, 500.0},
    {13666, 813.4641, -2107.1558, 37.2365, 0.0000, 39.5341, 20.6266, 500.0},
    {13666, 810.9012, -2107.3472, 39.2178, 0.0000, 39.5341, 13.7511, 500.0},
    {13666, 808.4473, -2107.2593, 41.2161, 0.0000, 39.5341, 6.8756, 500.0},
    {13666, 805.7615, -2106.8186, 43.3117, 0.0000, 39.5341, 0.0001, 500.0},
    {13666, 803.2025, -2106.0198, 45.3184, 0.0000, 39.5341, 350.5463, 500.0},
    {13666, 801.0756, -2105.0403, 47.1241, 0.0000, 36.9558, 346.2491, 500.0},
    {13666, 798.5490, -2103.7095, 49.0681, 0.0000, 35.2369, 339.3736, 500.0},
    {13666, 796.2156, -2101.8408, 50.9584, 0.0000, 33.5180, 329.9198, 500.0},
    {13666, 794.4280, -2100.1191, 52.3999, 0.0000, 31.7992, 323.9038, 500.0},
    {13666, 792.4989, -2097.6360, 54.1901, 0.0000, 30.0803, 317.0283, 500.0},
    {13666, 790.7393, -2094.7856, 55.8992, 0.0000, 27.5020, 310.1528, 500.0},
    {13666, 789.5783, -2092.5459, 57.0930, 0.0000, 24.9237, 304.9962, 500.0},
    {13666, 788.7061, -2090.5745, 58.0896, 0.0000, 21.4859, 299.8396, 500.0},
    {13666, 787.8504, -2087.5942, 59.1505, 0.0000, 18.0482, 292.1047, 500.0},
    {13666, 787.3958, -2084.9480, 59.9735, 0.0000, 14.6104, 283.5103, 500.0},
    {13666, 787.3300, -2081.5962, 60.7606, 0.0000, 12.0321, 278.3537, 500.0},
    {13666, 787.6715, -2068.2546, 62.1656, 0.0000, 0.0000, 98.8352, 500.0},
    {13666, 787.3824, -2078.1750, 61.4175, 0.0000, 9.4538, 276.6348, 500.0},
    {13666, 787.4939, -2074.7917, 61.8670, 0.0000, 6.0161, 276.6348, 500.0},
    {13666, 787.6382, -2071.4487, 62.1461, 0.0000, 2.5783, 276.6348, 500.0},
    // ----------------------------------------------------------------------
    {1655, -2239.2400, -1735.8900, 480.1100, 0.0000, 0.0000, 220.0000, 500.0}, //chilliad
    {3055, 230.6800, -1910.7400, 0.4500, 90.0000, 0.0000, 0.0000, 500.0}, //jetmax
    {3055, 222.8500, -1910.7500, 0.4600, 90.0000, 0.0000, 0.0000, 500.0} //jetmax
    // ----------------------------------------------------------------------


    /*
    {18450, 4215.1875, -4447.9473, 3844.4651, 0.0000, 90.0000, 90.0000, 500.0},
    {18450, 4223.7349, -4439.1870, 3844.3105, 0.0000, 90.0000, 180.0000, 500.0},
    {18450, 4215.1162, -4430.6255, 3844.3293, 0.0000, 90.0000, 270.0000, 500.0},
    {18450, 4207.5439, -4439.1465, 3833.4758, 0.0000, 90.0000, 0.0001, 500.0},
    {18450, 4207.5142, -4439.1631, 3753.6272, 0.0000, 90.0000, 0.0001, 500.0},
    {18450, 4215.1787, -4447.9023, 3764.8408, 0.0000, 90.0000, 90.0000, 500.0},
    {18450, 4223.7148, -4439.1934, 3764.4778, 0.0000, 90.0000, 180.0000, 500.0},
    {18450, 4215.1211, -4430.6455, 3764.4734, 0.0000, 90.0000, 270.0000, 500.0},
    {18450, 4214.2935, -4439.2441, 3724.2722, 0.0000, 0.0000, 0.0000, 500.0},
    {8357, 4100.7705, -4467.1587, 3873.5195, 0.0000, 0.0000, 270.0000, 500.0},
    {8357, 4101.4873, -4439.9258, 3873.4919, 0.0000, 0.0000, 270.0000, 500.0},
    {8357, 4100.8252, -4400.5898, 3873.3711, 0.0000, 0.0000, 270.0000, 500.0},
    {982, 4207.1245, -4459.4897, 3874.2097, 0.0000, 0.0000, 0.0000, 500.0},
    {982, 4207.1304, -4474.2207, 3874.1875, 0.0000, 0.0000, 0.0000, 500.0},
    {982, 4194.3101, -4487.0254, 3874.1875, 0.0000, 0.0000, 270.0000, 500.0},
    {982, 4168.7070, -4487.0176, 3874.1875, 0.0000, 0.0000, 270.0000, 500.0},
    {982, 4145.2217, -4479.9136, 3874.1875, 0.0000, 0.0000, 236.2501, 500.0},
    {982, 4134.4976, -4459.9609, 3874.1875, 0.0000, 0.0000, 180.0000, 500.0},
    {982, 4134.5840, -4434.4014, 3874.2097, 0.0000, 0.0000, 180.0000, 500.0},
    {982, 4134.4683, -4408.7339, 3874.0391, 0.0000, 0.0000, 180.0000, 500.0},
    {982, 4134.4912, -4393.6143, 3874.0391, 0.0000, 0.0000, 180.0000, 500.0},
    {982, 4147.2539, -4380.7104, 3874.0391, 0.0000, 0.0000, 90.0000, 500.0},
    {982, 4172.8818, -4380.6909, 3874.0391, 0.0000, 0.0000, 90.0000, 500.0},
    {982, 4194.2168, -4380.6797, 3874.0391, 0.0000, 0.0000, 90.0000, 500.0},
    {982, 4207.1138, -4393.4736, 3874.0391, 0.0000, 0.0000, 180.0000, 500.0},
    {982, 4207.0112, -4419.1509, 3874.2097, 0.0000, 0.0000, 180.0000, 500.0},
    {982, 4194.1802, -4431.9067, 3874.2097, 0.0000, 0.0000, 270.0000, 500.0},
    {982, 4194.3726, -4446.7969, 3874.2097, 0.0000, 0.0000, 270.0000, 500.0},
    {9241, 4224.3799, -4403.6328, 3887.2502, 0.0000, 0.0000, 0.0000, 500.0},
    {972, 4242.0000, -4409.6099, 3899.7083, 0.0000, 270.0000, 0.0000, 500.0},
    {972, 4235.0137, -4409.6133, 3899.7212, 0.0000, 270.0000, 0.0000, 500.0},
    {972, 4227.7754, -4409.6025, 3899.7341, 0.0000, 270.0000, 0.0000, 500.0},
    {972, 4220.5293, -4409.6567, 3899.7012, 0.0000, 270.0000, 0.0000, 500.0},
    {972, 4213.3960, -4409.6299, 3899.7439, 0.0000, 270.0000, 0.0000, 500.0},
    {972, 4231.6738, -4388.0615, 3899.6973, 0.0000, 270.0000, 90.0000, 500.0},
    {972, 4220.8213, -4388.0811, 3899.6912, 0.0000, 270.0000, 90.0000, 500.0},
    {975, 4208.4688, -4392.0688, 3887.1907, 0.0000, 0.0000, 90.0000, 500.0},
    {975, 4208.4639, -4400.8457, 3887.1907, 0.0000, 0.0000, 90.0000, 500.0},
    {975, 4208.4956, -4409.6416, 3887.1907, 0.0000, 0.0000, 90.0000, 500.0},
    {975, 4208.5078, -4414.9146, 3887.1907, 0.0000, 0.0000, 90.0000, 500.0},
    {975, 4212.9482, -4419.3633, 3887.1907, 0.0000, 0.0000, 180.0000, 500.0},
    {975, 4221.7085, -4419.3877, 3887.1907, 0.0000, 0.0000, 180.0000, 500.0},
    {975, 4230.5347, -4419.3833, 3887.1907, 0.0000, 0.0000, 180.0000, 500.0},
    {975, 4235.6475, -4419.3936, 3887.1907, 0.0000, 0.0000, 180.0000, 500.0},
    {975, 4239.9175, -4415.0796, 3887.1980, 0.0000, 0.0000, 270.0000, 500.0},
    {975, 4239.8901, -4406.2764, 3887.1980, 0.0000, 0.0000, 270.0000, 500.0},
    {975, 4239.8350, -4397.5483, 3887.1980, 0.0000, 0.0000, 270.0000, 500.0},
    {975, 4239.8413, -4392.2651, 3887.1980, 0.0000, 0.0000, 270.0000, 500.0},
    {975, 4235.5923, -4387.8359, 3887.1907, 0.0000, 0.0000, 0.0000, 500.0},
    {975, 4226.9805, -4387.8682, 3887.1907, 0.0000, 0.0000, 0.0000, 500.0},
    {975, 4218.2129, -4387.8564, 3887.1907, 0.0000, 0.0000, 0.0000, 500.0},
    {975, 4212.8643, -4387.8203, 3887.1907, 0.0000, 0.0000, 0.0000, 500.0},
    {8483, 4006.9385, -4460.7607, 3879.2627, 0.0000, 0.0000, 0.0000, 500.0},
    {3524, 4013.7087, -4468.4561, 3876.3892, 0.0000, 0.0000, 90.0000, 500.0},
    {3524, 4013.3184, -4454.8457, 3876.3892, 0.0000, 0.0000, 90.0000, 500.0},
    {14608, 4015.6191, -4472.8257, 3875.1025, 0.0000, 0.0000, 270.0000, 500.0},
    {14608, 4014.8140, -4451.1069, 3875.0776, 0.0000, 0.0000, 180.0000, 500.0}
    };
    */


    die mit /* */ sind die woher der error kommt help

  • Nein... das ist dein Fehler:
    {3055, 222.8500, -1910.7500, 0.4600, 90.0000, 0.0000, 0.0000, 500.0} //jetmax
    Wie du siehst, ist dort kein Komma, d.h. es ist dein "letztes" was auch immer^^
    So, wenn das nun nciht mehr dein letztes ist, dann muss da antürlich auch ein Komma rann
    Also:
    {3055, 222.8500, -1910.7500, 0.4600, 90.0000, 0.0000, 0.0000, 500.0} //jetmax
    // ----------------------------------------------------------------------


    {18450, 4215.1875, -4447.9473, 3844.4651, 0.0000, 90.0000, 90.0000, 500.0},
    {18450, 4223.7349, -4439.1870, 3844.3105, 0.0000, 90.0000, 180.0000, 500.0},
    [...]
    {14608, 4014.8140, -4451.1069, 3875.0776, 0.0000, 0.0000, 180.0000, 500.0}
    };