Filterscript

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 habe ein probelm wegen einem Filterscript. wenn das script drin ist kann man sich nichtmehr einloggen. Auch wenn man die codes in das GM reinschreibt dann kann man sich nicht einloggen.
    Hier die codes:
    #include <a_samp>
    #define FILTERSCRIPT
    #if defined FILTERSCRIPT
    #pragma tabsize 0


    //forwards
    forward Gate1Close();
    forward Gate2Close();
    forward Aufzug1runter();


    //news
    new Gate1;
    new Gate2;
    new Aufzug1;
    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" apple´s Partykaufhaus");
    print("--------------------------------------\n");
    CreateObject(987, 1185.8076171875, -1493.7777099609, 12.544204711914, 0, 0, 89.324493408203);
    CreateObject(987, 1185.8311767578, -1497.1970214844, 12.381494522095, 0, 0, 89.324340820313);
    CreateObject(987, 1062.3845214844, -1491.5422363281, 12.280559539795, 0, 0, 254.79553222656);
    CreateObject(987, 1157.2109375, -1416.3974609375, 15.190170288086, 0, 0, 179.36279296875);
    CreateObject(987, 1145.2946777344, -1416.1798095703, 12.539241790771, 0, 0, 179.36279296875);
    CreateObject(987, 1133.4522705078, -1416.1340332031, 12.358984947205, 0, 0, 179.36279296875);
    CreateObject(987, 1121.8112792969, -1416.1259765625, 12.56713104248, 0, 0, 179.36279296875);
    CreateObject(3115, 1072.2144775391, -1494.4835205078, 28.888835906982, 0, 0, 344.11926269531);
    CreateObject(14391, 1067.4892578125, -1499.5712890625, 22.718912124634, 0, 0, 103.21655273438);
    Gate1 = CreateObject(980, 1128.53515625, -1562.1752929688, 15.317642211914, 0, 0, 0);
    CreateObject(18102, 1073.8153076172, -1496.1988525391, 28.889518737793, 0, 0, 0);
    CreateObject(14391, 1072.9736328125, -1498.2940673828, 22.710084915161, 0, 0, 103.2165222168);
    CreateObject(14537, 1172.5472412109, -1544.8664550781, 30.852611541748, 0, 0, 0);
    CreateObject(987, 1111.7756347656, -1416.1657714844, 14.753025054932, 0, 0, 179.36279296875);
    CreateObject(14582, 1176.0322265625, -1437.3350830078, 32.664573669434, 0, 0, 276.63061523438);
    CreateObject(711, 1184.1915283203, -1532.6202392578, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.1899414063, -1525.8009033203, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.2995605469, -1519.6932373047, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.2951660156, -1512.6767578125, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.6326904297, -1501.7880859375, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.0594482422, -1493.8243408203, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.4281005859, -1485.2917480469, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.2171630859, -1476.0162353516, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1183.9133300781, -1464.5930175781, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.1389160156, -1454.6910400391, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.0378417969, -1443.2099609375, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.4230957031, -1426.0808105469, 35.487289428711, 0, 0, 0);
    CreateObject(711, 1173.4759521484, -1424.052734375, 35.487289428711, 0, 0, 0);
    CreateObject(711, 1163.8125, -1425.0054931641, 35.505958557129, 0, 0, 0);
    CreateObject(711, 1164.0561523438, -1429.8498535156, 35.505958557129, 0, 0, 0);
    CreateObject(711, 1164.3702392578, -1436.4047851563, 35.505958557129, 0, 0, 0);
    CreateObject(711, 1164.3907470703, -1448.9182128906, 35.505958557129, 0, 0, 0);
    CreateObject(10829, 1150.3557128906, -1430.1463623047, 14.796875, 0, 0, 0);
    Gate2 = CreateObject(980, 1081.3521728516, -1493.5715332031, 24.530132293701, 0, 0, 256.78076171875);
    Aufzug1 = CreateObject(971, 1132.4359130859, -1551.2578125, 21.818807601929, 90, 270, 0);
    CreateObject(1775, 1064.6101074219, -1491.9458007813, 22.871778488159, 0, 0, 9.9249267578125);
    CreateObject(1776, 1065.9216308594, -1491.5916748047, 22.873641967773, 0, 0, 9.9249267578125);
    CreateObject(2425, 1167.5144042969, -1544.4779052734, 30.0224609375, 0, 0, 270.67565917969);
    CreateObject(2429, 1167.1358642578, -1545.3157958984, 30.208425521851, 0, 0, 266.70568847656);
    CreateObject(2453, 1171.9284667969, -1549.7907714844, 30.400814056396, 0, 0, 0);
    CreateObject(2453, 1173.1051025391, -1549.7271728516, 30.400814056396, 0, 0, 0);
    CreateObject(2663, 1177.5222167969, -1545.6241455078, 30.277275085449, 0, 0, 0);
    CreateObject(2663, 1177.5223388672, -1545.369140625, 30.277275085449, 0, 0, 0);
    CreateObject(2663, 1177.5345458984, -1544.5581054688, 30.277275085449, 0, 0, 0);
    CreateObject(2663, 1177.5261230469, -1544.2613525391, 30.277275085449, 0, 0, 0);
    CreateObject(1359, 1172.5256347656, -1535.2015380859, 29.604806900024, 0, 0, 0);
    CreateObject(1359, 1167.4656982422, -1447.0113525391, 29.642723083496, 0, 0, 0);
    CreateObject(1568, 1095.0450439453, -1424.0509033203, 21.776500701904, 0, 0, 0);
    CreateObject(1568, 1108.2490234375, -1424.0053710938, 21.77663230896, 0, 0, 0);
    CreateObject(1568, 1124.0266113281, -1423.9916992188, 21.776672363281, 0, 0, 0);
    CreateObject(1568, 1140.283203125, -1423.9763183594, 21.776718139648, 0, 0, 0);
    CreateObject(1568, 1162.4528808594, -1423.9937744141, 21.776174545288, 0, 0, 0);
    CreateObject(1568, 1103.1977539063, -1431.4500732422, 21.754816055298, 0, 0, 0);
    CreateObject(1568, 1115.4770507813, -1431.4169921875, 21.756233215332, 0, 0, 0);
    CreateObject(1568, 1126.4135742188, -1431.4920654297, 21.756032943726, 0, 0, 0);
    CreateObject(1568, 1143.0080566406, -1431.4288330078, 21.756202697754, 0, 0, 0);
    CreateObject(1568, 1155.5074462891, -1431.3271484375, 21.756475448608, 0, 0, 0);
    CreateObject(1568, 1157.6524658203, -1465.7827148438, 21.753023147583, 0, 0, 0);
    CreateObject(1568, 1170.3905029297, -1488.181640625, 21.755523681641, 0, 0, 0);
    CreateObject(1568, 1131.1131591797, -1495.6309814453, 21.769031524658, 0, 0, 0);
    CreateObject(1568, 1126.6734619141, -1495.7824707031, 21.769031524658, 0, 0, 0);
    CreateObject(1568, 1126.6973876953, -1483.2360839844, 21.769031524658, 0, 0, 0);
    CreateObject(1568, 1131.2752685547, -1483.0191650391, 21.769031524658, 0, 0, 0);
    CreateObject(1568, 1165.107421875, -1513.4097900391, 21.745864868164, 0, 0, 0);
    CreateObject(1568, 1137.1607666016, -1535.0623779297, 21.75, 0, 0, 0);
    CreateObject(1568, 1118.8602294922, -1535.5013427734, 21.761415481567, 0, 0, 0);
    CreateObject(1568, 1085.8374023438, -1498.296875, 21.753074645996, 0, 0, 0);
    CreateObject(1568, 1086.0678710938, -1486.8927001953, 21.751630783081, 0, 0, 0);
    CreateObject(1568, 1094.9226074219, -1462.9921875, 21.74388885498, 0, 0, 0);
    CreateObject(1568, 1135.5152587891, -1560.9812011719, 21.752641677856, 0, 0, 0);
    CreateObject(1568, 1118.0933837891, -1561.8494873047, 21.739879608154, 0, 0, 0);
    CreateObject(1568, 1142.6125488281, -1558.3289794922, 28.90625, 0, 0, 0);
    CreateObject(1568, 1139.6726074219, -1540.1945800781, 28.898723602295, 0, 0, 0);
    CreateObject(1568, 1159.4553222656, -1526.5522460938, 28.907539367676, 0, 0, 0);
    CreateObject(1568, 1170.6361083984, -1510.3232421875, 28.910459518433, 0, 0, 0);
    CreateObject(1568, 1174.7727050781, -1483.8850097656, 28.927770614624, 0, 0, 0);
    CreateObject(1568, 1169.5584716797, -1469.9619140625, 28.947381973267, 0, 0, 0);
    CreateObject(1568, 1166.3122558594, -1446.2216796875, 28.946701049805, 0, 0, 0);
    CreateObject(1568, 1166.21484375, -1427.4747314453, 28.9469165802, 0, 0, 0);
    CreateObject(1568, 1181.6409912109, -1426.9317626953, 28.920852661133, 0, 0, 0);
    CreateObject(1568, 1182.5183105469, -1458.8094482422, 28.919353485107, 0, 0, 0);
    CreateObject(1568, 1182.5607910156, -1483.2143554688, 28.920234680176, 0, 0, 0);
    CreateObject(1568, 1182.3699951172, -1501.419921875, 28.911111831665, 0, 0, 0);
    CreateObject(1568, 1182.4189453125, -1526.3150634766, 28.907423019409, 0, 0, 0);
    CreateObject(1568, 1182.5991210938, -1558.2427978516, 28.717742919922, 0, 0, 0);
    CreateObject(1568, 1169.5731201172, -1558.4235839844, 28.90625, 0, 0, 0);
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp(cmdtext, "/Partygateauf", true) == 0)
    {
    MoveObject(Gate1, 1128.53515625, -1562.1748046875, 19.567642211914, 3);
    GivePlayerMoney(playerid,-75);
    SetTimer("Gate1Close",5000,0);
    return 1;
    }
    if (strcmp(cmdtext, "/Djgateauf", true) == 0)
    {
    MoveObject(Gate2, 1078.6335449219, -1503.8522949219, 24.530132293701, 3);
    GivePlayerMoney(playerid,-15);
    SetTimer("Gate2Close",5000,0);
    return 1;
    }
    if (strcmp(cmdtext, "/Baraufzug", true) == 0)
    {
    MoveObject(Aufzug1, 1132.189453125, -1551.2139892578, 29.568807601929, 3);
    GivePlayerMoney(playerid,-1);
    SetTimer("Aufzug1runter",8000,0);
    }
    return 1;
    }



    public Gate1Close()
    {
    MoveObject(Gate1, 1128.53515625, -1562.1752929688, 15.317642211914, 3);
    return 1;
    }
    public Gate2Close()
    {
    MoveObject(Gate2, 1081.3521728516, -1493.5715332031, 24.530132293701, 3);
    }
    public Aufzug1runter()
    {
    MoveObject(Aufzug1, 1132.4359130859, -1551.2578125, 21.818807601929, 3);
    }


    #endif


    pls help
    MfG
    apple

    Flugsystem: ||||||||||


    Navigationssystem: ||||||||||


    [JOB]Trucker: ||||||||||

  • Spoiler anzeigen
    #include <a_samp>

    Spoiler anzeigen
    //forwards
    forward Gate1Close();
    forward Gate2Close();
    forward Aufzug1runter();

    Spoiler anzeigen
    //news
    new Gate1;
    new Gate2;
    new Aufzug1;
    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" apple´s Partykaufhaus");
    print("--------------------------------------\n");
    CreateObject(987, 1185.8076171875, -1493.7777099609, 12.544204711914, 0, 0, 89.324493408203);
    CreateObject(987, 1185.8311767578, -1497.1970214844, 12.381494522095, 0, 0, 89.324340820313);
    CreateObject(987, 1062.3845214844, -1491.5422363281, 12.280559539795, 0, 0, 254.79553222656);
    CreateObject(987, 1157.2109375, -1416.3974609375, 15.190170288086, 0, 0, 179.36279296875);
    CreateObject(987, 1145.2946777344, -1416.1798095703, 12.539241790771, 0, 0, 179.36279296875);
    CreateObject(987, 1133.4522705078, -1416.1340332031, 12.358984947205, 0, 0, 179.36279296875);
    CreateObject(987, 1121.8112792969, -1416.1259765625, 12.56713104248, 0, 0, 179.36279296875);
    CreateObject(3115, 1072.2144775391, -1494.4835205078, 28.888835906982, 0, 0, 344.11926269531);
    CreateObject(14391, 1067.4892578125, -1499.5712890625, 22.718912124634, 0, 0, 103.21655273438);
    Gate1 = CreateObject(980, 1128.53515625, -1562.1752929688, 15.317642211914, 0, 0, 0);
    CreateObject(18102, 1073.8153076172, -1496.1988525391, 28.889518737793, 0, 0, 0);
    CreateObject(14391, 1072.9736328125, -1498.2940673828, 22.710084915161, 0, 0, 103.2165222168);
    CreateObject(14537, 1172.5472412109, -1544.8664550781, 30.852611541748, 0, 0, 0);
    CreateObject(987, 1111.7756347656, -1416.1657714844, 14.753025054932, 0, 0, 179.36279296875);
    CreateObject(14582, 1176.0322265625, -1437.3350830078, 32.664573669434, 0, 0, 276.63061523438);
    CreateObject(711, 1184.1915283203, -1532.6202392578, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.1899414063, -1525.8009033203, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.2995605469, -1519.6932373047, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.2951660156, -1512.6767578125, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.6326904297, -1501.7880859375, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.0594482422, -1493.8243408203, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.4281005859, -1485.2917480469, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.2171630859, -1476.0162353516, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1183.9133300781, -1464.5930175781, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.1389160156, -1454.6910400391, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.0378417969, -1443.2099609375, 35.453201293945, 0, 0, 0);
    CreateObject(711, 1184.4230957031, -1426.0808105469, 35.487289428711, 0, 0, 0);
    CreateObject(711, 1173.4759521484, -1424.052734375, 35.487289428711, 0, 0, 0);
    CreateObject(711, 1163.8125, -1425.0054931641, 35.505958557129, 0, 0, 0);
    CreateObject(711, 1164.0561523438, -1429.8498535156, 35.505958557129, 0, 0, 0);
    CreateObject(711, 1164.3702392578, -1436.4047851563, 35.505958557129, 0, 0, 0);
    CreateObject(711, 1164.3907470703, -1448.9182128906, 35.505958557129, 0, 0, 0);
    CreateObject(10829, 1150.3557128906, -1430.1463623047, 14.796875, 0, 0, 0);
    Gate2 = CreateObject(980, 1081.3521728516, -1493.5715332031, 24.530132293701, 0, 0, 256.78076171875);
    Aufzug1 = CreateObject(971, 1132.4359130859, -1551.2578125, 21.818807601929, 90, 270, 0);
    CreateObject(1775, 1064.6101074219, -1491.9458007813, 22.871778488159, 0, 0, 9.9249267578125);
    CreateObject(1776, 1065.9216308594, -1491.5916748047, 22.873641967773, 0, 0, 9.9249267578125);
    CreateObject(2425, 1167.5144042969, -1544.4779052734, 30.0224609375, 0, 0, 270.67565917969);
    CreateObject(2429, 1167.1358642578, -1545.3157958984, 30.208425521851, 0, 0, 266.70568847656);
    CreateObject(2453, 1171.9284667969, -1549.7907714844, 30.400814056396, 0, 0, 0);
    CreateObject(2453, 1173.1051025391, -1549.7271728516, 30.400814056396, 0, 0, 0);
    CreateObject(2663, 1177.5222167969, -1545.6241455078, 30.277275085449, 0, 0, 0);
    CreateObject(2663, 1177.5223388672, -1545.369140625, 30.277275085449, 0, 0, 0);
    CreateObject(2663, 1177.5345458984, -1544.5581054688, 30.277275085449, 0, 0, 0);
    CreateObject(2663, 1177.5261230469, -1544.2613525391, 30.277275085449, 0, 0, 0);
    CreateObject(1359, 1172.5256347656, -1535.2015380859, 29.604806900024, 0, 0, 0);
    CreateObject(1359, 1167.4656982422, -1447.0113525391, 29.642723083496, 0, 0, 0);
    CreateObject(1568, 1095.0450439453, -1424.0509033203, 21.776500701904, 0, 0, 0);
    CreateObject(1568, 1108.2490234375, -1424.0053710938, 21.77663230896, 0, 0, 0);
    CreateObject(1568, 1124.0266113281, -1423.9916992188, 21.776672363281, 0, 0, 0);
    CreateObject(1568, 1140.283203125, -1423.9763183594, 21.776718139648, 0, 0, 0);
    CreateObject(1568, 1162.4528808594, -1423.9937744141, 21.776174545288, 0, 0, 0);
    CreateObject(1568, 1103.1977539063, -1431.4500732422, 21.754816055298, 0, 0, 0);
    CreateObject(1568, 1115.4770507813, -1431.4169921875, 21.756233215332, 0, 0, 0);
    CreateObject(1568, 1126.4135742188, -1431.4920654297, 21.756032943726, 0, 0, 0);
    CreateObject(1568, 1143.0080566406, -1431.4288330078, 21.756202697754, 0, 0, 0);
    CreateObject(1568, 1155.5074462891, -1431.3271484375, 21.756475448608, 0, 0, 0);
    CreateObject(1568, 1157.6524658203, -1465.7827148438, 21.753023147583, 0, 0, 0);
    CreateObject(1568, 1170.3905029297, -1488.181640625, 21.755523681641, 0, 0, 0);
    CreateObject(1568, 1131.1131591797, -1495.6309814453, 21.769031524658, 0, 0, 0);
    CreateObject(1568, 1126.6734619141, -1495.7824707031, 21.769031524658, 0, 0, 0);
    CreateObject(1568, 1126.6973876953, -1483.2360839844, 21.769031524658, 0, 0, 0);
    CreateObject(1568, 1131.2752685547, -1483.0191650391, 21.769031524658, 0, 0, 0);
    CreateObject(1568, 1165.107421875, -1513.4097900391, 21.745864868164, 0, 0, 0);
    CreateObject(1568, 1137.1607666016, -1535.0623779297, 21.75, 0, 0, 0);
    CreateObject(1568, 1118.8602294922, -1535.5013427734, 21.761415481567, 0, 0, 0);
    CreateObject(1568, 1085.8374023438, -1498.296875, 21.753074645996, 0, 0, 0);
    CreateObject(1568, 1086.0678710938, -1486.8927001953, 21.751630783081, 0, 0, 0);
    CreateObject(1568, 1094.9226074219, -1462.9921875, 21.74388885498, 0, 0, 0);
    CreateObject(1568, 1135.5152587891, -1560.9812011719, 21.752641677856, 0, 0, 0);
    CreateObject(1568, 1118.0933837891, -1561.8494873047, 21.739879608154, 0, 0, 0);
    CreateObject(1568, 1142.6125488281, -1558.3289794922, 28.90625, 0, 0, 0);
    CreateObject(1568, 1139.6726074219, -1540.1945800781, 28.898723602295, 0, 0, 0);
    CreateObject(1568, 1159.4553222656, -1526.5522460938, 28.907539367676, 0, 0, 0);
    CreateObject(1568, 1170.6361083984, -1510.3232421875, 28.910459518433, 0, 0, 0);
    CreateObject(1568, 1174.7727050781, -1483.8850097656, 28.927770614624, 0, 0, 0);
    CreateObject(1568, 1169.5584716797, -1469.9619140625, 28.947381973267, 0, 0, 0);
    CreateObject(1568, 1166.3122558594, -1446.2216796875, 28.946701049805, 0, 0, 0);
    CreateObject(1568, 1166.21484375, -1427.4747314453, 28.9469165802, 0, 0, 0);
    CreateObject(1568, 1181.6409912109, -1426.9317626953, 28.920852661133, 0, 0, 0);
    CreateObject(1568, 1182.5183105469, -1458.8094482422, 28.919353485107, 0, 0, 0);
    CreateObject(1568, 1182.5607910156, -1483.2143554688, 28.920234680176, 0, 0, 0);
    CreateObject(1568, 1182.3699951172, -1501.419921875, 28.911111831665, 0, 0, 0);
    CreateObject(1568, 1182.4189453125, -1526.3150634766, 28.907423019409, 0, 0, 0);
    CreateObject(1568, 1182.5991210938, -1558.2427978516, 28.717742919922, 0, 0, 0);
    CreateObject(1568, 1169.5731201172, -1558.4235839844, 28.90625, 0, 0, 0);
    return 1;
    }

    Spoiler anzeigen
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp(cmdtext, "/Partygateauf", true) == 0)
    {
    MoveObject(Gate1, 1128.53515625, -1562.1748046875, 19.567642211914, 3);
    GivePlayerMoney(playerid,-75);
    SetTimer("Gate1Close",5000,0);
    return 1;
    }
    if (strcmp(cmdtext, "/Djgateauf", true) == 0)
    {
    MoveObject(Gate2, 1078.6335449219, -1503.8522949219, 24.530132293701, 3);
    GivePlayerMoney(playerid,-15);
    SetTimer("Gate2Close",5000,0);
    return 1;
    }
    if (strcmp(cmdtext, "/Baraufzug", true) == 0)
    {
    MoveObject(Aufzug1, 1132.189453125, -1551.2139892578, 29.568807601929, 3);
    GivePlayerMoney(playerid,-1);
    SetTimer("Aufzug1runter",8000,0);
    return 1;
    }
    return 0;
    }

    Spoiler anzeigen
    public Gate1Close()return MoveObject(Gate1, 1128.53515625, -1562.1752929688, 15.317642211914, 3);
    public Gate2Close()return MoveObject(Gate2, 1081.3521728516, -1493.5715332031, 24.530132293701, 3);
    public Aufzug1runter()return MoveObject(Aufzug1, 1132.4359130859, -1551.2578125, 21.818807601929, 3);

    Mfg. BlackFoX_UD_ alias [BFX]Explosion


  • müssen dieGate2 = CreateObject(980, 1081.3521728516, -1493.5715332031, 24.530132293701, 0, 0, 256.78076171875);
    Aufzug1 = CreateObject(971, 1132.4359130859, -1551.2578125, 21.818807601929, 90, 270, 0);

    etc.. nicht unter OnGameModeInt??
    edit: oder OnFliterscriptInt

    526C4Hj.png Mit freundlichen Grüßen,
    Noneatme