kleine frage zum einstein streamer

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
  • also ich habe heute zum ersten mal den einstein streamer probiert und eine sache versteh ich nicht diesen fehler hir


    C:\Dokumente und Einstellungen\Antonio.k\Desktop\filterscripts\einstein.pwn(60) : error 017: undefined symbol "SetViewDistanceToStreamEx"
    C:\Dokumente und Einstellungen\Antonio.k\Desktop\filterscripts\einstein.pwn(59) : warning 204: symbol is assigned a value that is never used: "objectend"
    C:\Dokumente und Einstellungen\Antonio.k\Desktop\filterscripts\einstein.pwn(37) : warning 204: symbol is assigned a value that is never used: "objectstart"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    #include <a_samp>
    #include <Obj_LITE>
    new objectstart;
    new objectend;



    #if defined FILTERSCRIPT
    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    StreamObject_OnGameModeInit();


    //sos3test
    objectstart = CreateObjectToStream(1225, -2470.034912, 1422.520386, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2474.056885, 1418.732056, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2482.720459, 1414.813599, 4.975639, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2464.397217, 1416.959595, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2461.192139, 1423.403687, 4.975635, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2466.133057, 1419.454590, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2468.887939, 1416.892822, 4.975635, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2463.419678, 1414.525635, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2456.574707, 1418.565308, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2461.280762, 1420.091064, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2459.485352, 1417.748535, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2455.534912, 1414.761963, 4.975635, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2448.936768, 1423.015137, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2450.010010, 1419.446533, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2448.777100, 1415.093018, 4.975635, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2445.752686, 1418.365356, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2442.509033, 1421.823486, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2442.758301, 1416.872803, 4.975639, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2439.135254, 1415.396240, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2438.526367, 1421.609253, 4.975637, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1225, -2437.678955, 1419.061646, 4.975636, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(8171, -2180.491455, 1770.924194, 8.259956, 0.0000, 58.4417, 270.0000);
    objectend = CreateObjectToStream(17690, -2131.487061, 1757.607910, -6.294985, 353.9839, 0.0000, 0.0000);
    SetViewDistanceToStreamEx(objectstart, objectend, 200);


    return 1;
    }



    public OnGameModeExit()
    {
    StreamObject_OnGameModeExit();
    return 1;
    }
    [/pwn]


    so viel ich die readme verstanden hab sollte das doch richtig sein oder nicht ?


    zitat


    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    SetObjectViewDistanceToStreamEx(streamobjectidstart, streamobjectidend, Viewdistance);


    If you want to change the Viewdistance of a special Buffer. Buffers are little Packages of Objects.


    Sample:


    new objectstart;
    new objectend;


    public OnGameModeInit()
    {
    StreamObject_OnGameModeInit();


    //Here starts the "Buffer"
    objectstart = CreateObjectToStream(3749, 2137.476318, 955.130737, 15.532376, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(8649, 2097.686279, 930.976501, 12.390877, 0.0000, 0.0000, 0.0000);
    objectend = CreateObjectToStream(8649, 2097.675293, 901.555420, 12.390877, 0.0000, 0.0000, 0.0000);
    //And here it ends


    SetViewDistanceToStreamEx(objectstart, objectend, 200);
    return 1;
    }



    Kennt ihr den fehler ?