Hilfe beim Streamen!

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 heute brauche ich Hilfe beim streamen! Ich bekomme immer errors


    Hier der Code



    #include <a_samp>
    #include <dini>



    #define <OBj_Streamer>
    #define BLAU 0x000FFFFF
    #define ORANGE 0xFFB400FF
    #define PINK 0xFF00CDFF
    #define GRÜN 0x416C00FF
    #define BRAUN 0x550000FF
    #define ROT 0xEB0000FF
    #define GELB 0xE1E400FF





    public OnGameModeInit()
    {
    SetGameModeText("TestMode");
    ShowPlayerMarkers(0);
    AddPlayerClass(0,1108.7648,-1796.8116,16.5938,85.2672,24,1000,25,500,29,2000);





    AddStaticVehicle(411,1062.6051,-1772.9451,13.0812,270.2808,123,1); //infernus spawn



    StreamObject_OnGameModeInit();
    {
    CreateObjectToStream(17594, 3540.839600, -1954.661377, 7.729668, 0.0000, 0.0000, 101.2500);
    CreateObjectToStream(4842, 3472.531738, -1944.301392, -2.102670, 0.0000, 0.0000, 303.7500);
    CreateObjectToStream(4842, 3528.864258, -2072.637695, -2.074038, 0.0000, 0.0000, 337.5000);
    CreateObjectToStream(5520, 3555.201416, -1975.800781, 12.375954, 0.0000, 0.0000, 191.2500);
    CreateObjectToStream(3759, 3505.039551, -1897.583740, 11.284433, 0.0000, 0.0000, 11.2500);
    CreateObjectToStream(3640, 3509.458008, -1947.138428, 11.763760, 0.0000, 0.0000, 191.2501);
    CreateObjectToStream(3639, 3523.437988, -1890.976318, 11.635162, 0.0000, 0.0000, 11.2500);
    CreateObjectToStream(3617, 3543.340820, -1924.142456, 9.969778, 0.0000, 0.0000, 11.2500);
    CreateObjectToStream(3607, 3550.255615, -2026.568359, 13.342846, 0.0000, 0.0000, 191.2500);
    CreateObjectToStream(3606, 3532.580078, -1984.625488, 10.635340, 0.0000, 0.0000, 11.2500);
    CreateObjectToStream(3604, 3521.775146, -2018.870972, 9.789726, 0.0000, 0.0000, 191.2500);
    CreateObjectToStream(3583, 3529.765137, -1942.846802, 10.377842, 0.0000, 0.0000, 11.2501);
    CreateObjectToStream(3580, 3520.206299, -1925.340454, 11.870253, 0.0000, 0.0000, 191.2500);
    CreateObjectToStream(621, 3514.672363, -1955.535645, 7.195071, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3511.719971, -1915.464111, 7.134646, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3541.218506, -1906.285889, 7.134646, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3544.604004, -1881.461670, 7.134646, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3505.238770, -1875.533447, 7.134646, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3490.657959, -1890.134399, 7.134646, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3567.631592, -1984.440674, 7.134646, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3540.685303, -1995.149658, 7.134646, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3582.987305, -2019.512207, 7.141329, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(621, 3522.330078, -2027.770020, 7.134646, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(3505, 3516.598877, -2047.099487, 7.186060, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(3505, 3512.033447, -2019.832886, 7.186060, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(3505, 3509.607178, -2008.123413, 7.186062, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(3505, 3488.176514, -1899.802612, 7.157427, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(3505, 3491.868164, -1917.659790, 7.157427, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(3472, 3504.750244, -1982.449829, 7.560747, 0.0000, 0.0000, 11.2500);
    CreateObjectToStream(3472, 3495.932861, -1936.094482, 7.532115, 0.0000, 0.0000, 11.2500);
    CreateObjectToStream(3472, 3503.250000, -1971.364990, 7.555197, 0.0000, 0.0000, 11.2500);
    CreateObjectToStream(3472, 3497.638428, -1945.122192, 7.532115, 0.0000, 0.0000, 11.2500);
    CreateObjectToStream(7073, 3549.078857, -2109.350098, 20.277781, 0.0000, 0.0000, 337.5000);
    CreateObjectToStream(7073, 3561.147217, -2074.432861, 25.908339, 0.0000, 0.0000, 337.5000);
    CreateObjectToStream(6189, 3399.934814, -1936.869629, -11.051223, 0.0000, 0.0000, 281.2500);
    CreateObjectToStream(9958, 3385.541504, -1909.667603, 4.902514, 0.0000, 0.0000, 281.2500);
    CreateObjectToStream(9958, 3390.025635, -1965.820435, 4.939408, 0.0000, 0.0000, 281.2500);
    CreateObjectToStream(2404, 3491.169189, -1950.807007, 7.688187, 0.0000, 0.0000, 281.2500);
    CreateObjectToStream(2405, 3491.500244, -1951.939331, 7.663187, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(2406, 3492.161621, -1953.986084, 8.088187, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(2410, 3492.934570, -1956.148560, 7.250472, 0.0000, 0.0000, 326.2500);
    CreateObjectToStream(1643, 3481.156982, -1945.084229, 7.207897, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(1642, 3482.095947, -1961.098999, 7.207901, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1641, 3487.311768, -1974.538086, 7.182900, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1640, 3488.448486, -1980.194946, 7.170574, 0.0000, 0.0000, 67.5000);
    CreateObjectToStream(1637, 3453.621338, -1957.314453, 2.256748, 0.0000, 0.0000, 202.5000);
    CreateObjectToStream(1637, 3481.731445, -2031.225098, 2.952725, 0.0000, 0.0000, 202.5000);
    CreateObjectToStream(1637, 3467.231445, -1858.471558, 3.415796, 0.0000, 0.0000, 202.5000);
    CreateObjectToStream(1610, 3486.120850, -1932.626465, 7.157731, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1611, 3482.053223, -1927.475830, 7.157731, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1598, 3475.259033, -1949.522827, 7.288895, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1461, 3469.116455, -1862.045654, 4.077158, 0.0000, 0.0000, 22.5001);
    CreateObjectToStream(1461, 3456.163818, -1958.957886, 3.792336, 0.0000, 0.0000, 112.5002);
    CreateObjectToStream(1461, 3484.354980, -2033.067383, 4.044808, 0.0000, 0.0000, 112.5000);
    CreateObjectToStream(902, 3464.878662, -1991.403564, 0.881813, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(9237, 3474.485840, -1845.625366, 10.240759, 0.0000, 0.0000, 0.0000);
    }
    return 1;
    }




    und hier die Fehler:



    (7) : error 074: #define pattern must start with an alphabetic character /edit: das ist das <Obj_Streamer>
    (171) : error 017: undefined symbol "StreamObject_OnGameModeInit"
    (172) : warning 217: loose indentation
    (173) : error 017: undefined symbol "CreateObjectToStream"


    das geht halt da wieter auf Zeile 174,175,176,177,178...

  • mit dem obj streamer hatte ich auch mene probs aber hab dann einen anderen genommen und da ging es.
    ich würde dir den Objectstreamer von Incognito empfehlen.
    der is sehr benutzerfreundlich :)