Map als Filterscript einfügen

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
  • Hi,


    ich hab ein Pastebin Code von einer Map (in dem Code steht nur CreateDynamicObject ... )


    Ich möchte diese Map als Filterscript einfügen. Nur wie mach ich das?


    Mein jetziges Filterscript sieht so aus (es gab keine Warnings bzw. Erros, die Map ist aber Leider nicht im Spiel vorhanden... )


    #include <a_samp>
    #if defined FILTERSCRIPT


    CreateDynamicObject(16192,665.18853760,2921.79956055,43.88856888,0.00000000,0.00000000,108.00000000); //object(cen_bit_01) (1)
    CreateDynamicObject(11533,460.72915649,2898.00512695,16.27879333,0.00000000,0.00000000,301.99829102); //object(sw_bit_04) (10)
    CreateDynamicObject(16251,321.20104980,3108.26660156,12.40697098,0.00000000,1.25000000,202.00000000); //object(n_bit_17) (1)
    CreateDynamicObject(16255,525.37554932,3128.93750000,26.49018860,0.00000000,0.00000000,236.00000000); //object(ne_bit_24) (1)
    CreateDynamicObject(16255,548.39532471,3118.08227539,26.49018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (2)
    CreateDynamicObject(16255,571.02587891,3107.41088867,25.99018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (3)
    CreateDynamicObject(16255,592.42651367,3097.32055664,29.24018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (4)
    CreateDynamicObject(16693,570.22998047,3117.51953125,-6.50403547,0.00000000,0.00000000,224.00000000); //object(n_bit_11b) (1)
    CreateDynamicObject(16694,474.25067139,3167.02441406,3.34229660,0.00000000,0.00000000,224.00000000); //object(n_bit_11c) (1)
    CreateDynamicObject(16255,495.37374878,3146.46899414,29.49018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (5)
    CreateDynamicObject(16255,613.63995361,3222.36645508,44.74018860,0.00000000,0.00000000,335.99734497); //object(ne_bit_24) (6)
    CreateDynamicObject(16255,632.30377197,3263.27001953,36.74018860,0.00000000,0.00000000,335.99487305); //object(ne_bit_24) (7)
    CreateDynamicObject(16255,658.32812500,3320.14282227,29.49018860,0.00000000,0.00000000,335.99487305); //object(ne_bit_24) (8)
    CreateDynamicObject(16116,397.33160400,3093.00756836,10.24071121,0.00000000,0.00000000,78.00000000); //object(des_rockgp2_04) (2)
    CreateDynamicObject(16116,397.85119629,3102.27148438,11.74071121,0.00000000,0.00000000,25.99743652); //object(des_rockgp2_04) (3)
    CreateDynamicObject(16116,383.17828369,3117.80761719,5.99071121,0.00000000,0.00000000,241.99365234); //object(des_rockgp2_04) (4)
    CreateDynamicObject(3991,549.54077148,2938.60498047,11.22721291,0.00000000,0.00000000,324.00000000); //object(gsfreeway7_lan) (1)
    CreateDynamicObject(3991,624.28613281,3062.50585938,11.22721291,0.00000000,0.00000000,143.99783325); //object(gsfreeway7_lan) (3)
    CreateDynamicObject(16255,674.00213623,3040.63574219,29.24018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (9)
    CreateDynamicObject(16255,555.02020264,2858.86938477,29.24018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (10)


    #endif


    Hab sehr viele CreateDynamic Object Zeilen entfernt da es sonst zu viel wäre... bitte hilfe


    (habs schonmal geschafft aber vergessen)

    mfg

  • SuFu?


    natürlich ist das komplett falsch, weil das CreateDynamicObject du gar net includet hast. ist glaub ich die streamer.inc..


    und warum #if defined FILTERSCRIPT ?
    mach das und das endif raus, oder du schreibst oberhalb
    #define FILTERSCRIPT