Hilfe beim Object streaming

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
  • #include <a_samp>


    du hast nur ein unclude xD du musst das andere auch noch eintragen also du hast zum streamer bestimmt noch ne datei bekommen die du in den include ordner rein machen solltest oder die musst du noch in die pawn datei machen also dann so




    #include <a_samp>
    #include <NAME VOM INCLUDE MIT DEM SATZ HIR AUSTAUSCHEN> also name und die 2 <> <name> versuchs mal
    // This is a comment
    // uncomment the line below if you want to write a filterscript
    //#define FILTERSCRIPT


    #if defined FILTERSCRIPT



    #define MAX_STREAM_OBJECTS 43
    #include <MidoStream.inc>


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Kill Warnings by SamQuest");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Kill Warnings by SamQuest");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    CreateStreamObject(1257, 1535.718140, -1705.733643, 13.826067, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(1257, 1523.533203, -1712.676025, 13.826067, 0.0000, 0.0000, 180.0000, 500);
    CreateStreamObject(1258, 1535.171387, -1702.377441, 13.208596, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(994, 1534.879883, -1695.542847, 12.647192, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(994, 1534.953125, -1688.678467, 12.647193, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(994, 1534.938232, -1682.184570, 12.647191, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(994, 1534.972046, -1656.873291, 12.647192, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(994, 1535.002686, -1650.307861, 12.647192, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(994, 1535.069946, -1643.698486, 12.647192, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(994, 1535.131104, -1637.144287, 12.647192, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.670410, -1653.924805, 14.158348, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.710327, -1659.052979, 14.158426, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.676025, -1664.270264, 14.158360, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.649414, -1669.481812, 14.158308, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.736694, -1671.130249, 14.158480, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.748047, -1679.877441, 14.158502, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.707153, -1685.064941, 14.158421, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.704102, -1690.307495, 14.158415, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.728760, -1695.458130, 14.156130, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1539.766357, -1697.135864, 14.156130, 0.0000, 0.0000, 270.0000, 500);
    CreateStreamObject(1411, 1542.370483, -1699.569336, 14.156130, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(1411, 1547.582031, -1699.612305, 14.156130, 0.0000, 0.0000, 0.0001, 500);
    CreateStreamObject(1411, 1552.850952, -1699.610840, 14.157761, 0.0000, 0.0000, 0.0001, 500);
    CreateStreamObject(1411, 1542.309326, -1650.037964, 14.590862, 0.0000, 0.0000, 180.0003, 500);
    CreateStreamObject(1232, 1539.552734, -1673.648193, 15.183517, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(1232, 1539.466187, -1676.932129, 15.183517, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(1232, 1546.630615, -1678.753540, 16.581955, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(1232, 1546.675659, -1672.417725, 16.581955, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(1232, 1551.142334, -1678.732422, 18.308517, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(1232, 1551.233521, -1672.485107, 18.308517, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(3515, 1480.979492, -1640.783813, 15.118645, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(3515, 1546.223877, -1665.174194, 14.891665, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(3515, 1545.578613, -1686.095337, 14.891645, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1540.192749, -1699.322388, 12.599124, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1547.312256, -1698.989746, 12.599125, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1553.029663, -1699.263306, 12.601097, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1544.015747, -1650.782349, 13.033856, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1540.807007, -1652.622681, 12.609432, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1540.727539, -1659.061035, 12.603410, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1540.528320, -1663.765869, 12.603019, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1540.858521, -1670.026001, 12.603665, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1540.671875, -1680.665283, 12.603301, 0.0000, 0.0000, 0.0000, 500);
    CreateStreamObject(892, 1540.276245, -1690.312012, 12.602528, 0.0000, 0.0000, 0.0000, 500);
    return 1;
    }



    public OnGameModeExit()
    {


    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {


    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerPrivmsg(playerid, recieverid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
    // Do something here
    return 1;
    }
    return 0;
    }


    public OnPlayerInfoChange(playerid)
    {
    return 1;
    }


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnRconCommand(cmd[])
    {
    return 1;
    }


    public OnObjectMoved(objectid)
    {
    return 1;
    }


    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }


    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }

  • Steht das auch richtig in deinem Script?


    #include <MidoStream>


    Und hast du die Datei MidoStream.inc in deinem includes-Unterordner von pawno?

    Intel Xeon W3690 Hexacore @ 4.5 GHz - 48GB Triple Channel DDR3 - GeForce RTX 2070 Super - Asus P6T Deluxe V1 @ P6T WS Pro BIOS

    Mainboard 12 Jahre, CPU 10 Jahre alt - old but gold!

  • ist es auch eine INC datei die du in includes ordner gemacht hast ? sowas hatte ich auch schonmal da war das eine normale textdatei.. wenn kopier einfach nen anderes include und ändere den namen und den inhalt..mfg cha

    „Auge um Auge - und die ganze Welt wird blind sein.“
    - Mahatma Gandhi