Objekte enfernen Pawno stürzt ab hilfe!

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
  • Hey.
    Ich habe den SA-MP Editor.
    Wenn ich die Objekte unter public OnPlayerConnect(playerid)
    einfüge stürzt Pawno ab. Wenn es im Script ist sieht es so aus:

    Spoiler anzeigen
    public OnPlayerConnect(playerid)
    RemoveBuildingForPlayer(playerid, 705, -2385.2969, 221.7891, 34.5938, 100);
    RemoveBuildingForPlayer(playerid, 708, -2362.1328, 166.4688, 34.6328, 100);
    RemoveBuildingForPlayer(playerid, 705, -2322.8594, 266.7813, 30.0000, 100);
    RemoveBuildingForPlayer(playerid, 708, -2294.9609, 73.5391, 34.6328, 100);
    RemoveBuildingForPlayer(playerid, 705, -2393.5547, 103.0938, 34.5938, 100);
    RemoveBuildingForPlayer(playerid, 705, -2388.2422, 148.9844, 34.5938, 100);
    RemoveBuildingForPlayer(playerid, 705, -2315.7344, 296.1406, 34.5938, 100);
    RemoveBuildingForPlayer(playerid, 708, -2273.2656, 282.6406, 34.6328, 100);
    RemoveBuildingForPlayer(playerid, 708, -2305.5234, 241.9375, 34.6328, 100);
    RemoveBuildingForPlayer(playerid, 705, -2368.0703, 83.7578, 34.5938, 100);
    RemoveBuildingForPlayer(playerid, 10522, -2637.4141, 376.0391, 15.8984, 100);
    RemoveBuildingForPlayer(playerid, 10523, -2706.3047, 311.8359, 12.7656, 100);
    RemoveBuildingForPlayer(playerid, 10524, -2706.2969, 439.2734, 12.7188, 100);
    RemoveBuildingForPlayer(playerid, 10525, -2784.6328, 375.6094, 21.5781, 100);
    RemoveBuildingForPlayer(playerid, 705, -2684.7188, 399.3203, 3.7734, 100);
    RemoveBuildingForPlayer(playerid, 705, -2727.8672, 398.9219, 3.7734, 100);
    RemoveBuildingForPlayer(playerid, 705, -2729.9844, 353.9453, 3.7734, 100);
    RemoveBuildingForPlayer(playerid, 705, -2684.1484, 352.6797, 3.7734, 100);
    RemoveBuildingForPlayer(playerid, 673, -2382.1641, 75.0078, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 672, -2367.6016, 65.3438, 35.2344, 100);
    RemoveBuildingForPlayer(playerid, 672, -2342.5156, 65.6094, 35.2344, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2353.2188, 100.8594, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1226, -2328.1094, 53.7500, 38.1875, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2324.8828, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2330.1875, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 669, -2317.6875, 62.7969, 34.6484, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2319.5781, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2333.7578, 75.7344, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2321.7109, 75.5625, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2318.7891, 83.9844, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2308.9688, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2314.2734, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 737, -2301.1484, 56.1016, 34.4219, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2298.3594, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2303.6641, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2287.7500, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2293.0547, 59.7109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2309.9297, 75.6484, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2313.4688, 83.9844, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2308.1563, 83.9844, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2303.7969, 85.9922, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2285.3281, 89.4688, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2300.3125, 90.0000, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2292.5078, 95.6484, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2298.6016, 94.6406, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2283.5156, 101.2656, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2298.6016, 99.9531, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2298.6016, 105.2734, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 672, -2382.1641, 118.5547, 35.2344, 100);
    RemoveBuildingForPlayer(playerid, 672, -2361.8984, 125.5000, 35.2344, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2350.2422, 110.9688, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2344.9844, 120.1016, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2347.8594, 115.6875, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2352.0469, 106.0078, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2329.4453, 134.2344, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2333.9141, 131.3906, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2338.0234, 128.0391, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2341.6953, 124.2422, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2292.4219, 119.4844, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2292.3359, 107.7031, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2262.2656, 118.5547, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2262.2188, 123.8750, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2262.1719, 129.1875, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2284.4922, 134.9297, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2262.1250, 134.5000, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2354.9297, 142.1484, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2314.6484, 139.8281, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2319.7422, 138.4609, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2324.6875, 136.5703, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2288.8828, 142.5078, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 1341, -2286.5391, 147.6328, 35.3203, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2262.0234, 145.1016, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9766, 150.4141, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2262.0703, 139.7813, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2315.5156, 159.7656, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9531, 155.7031, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2325.6250, 162.7422, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2320.6641, 160.9375, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2330.3438, 165.1250, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2283.2891, 165.8047, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 10380, -2706.3047, 311.8359, 12.7656, 100);
    RemoveBuildingForPlayer(playerid, 10377, -2784.6328, 375.6094, 21.5781, 100);
    RemoveBuildingForPlayer(playerid, 10379, -2706.2969, 439.2734, 12.7188, 100);
    RemoveBuildingForPlayer(playerid, 10381, -2637.4141, 376.0391, 15.8984, 100);
    RemoveBuildingForPlayer(playerid, 673, -2386.3281, 188.4922, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 672, -2369.1484, 100.1875, 35.2344, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2346.0469, 179.0703, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2342.6953, 174.9609, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2338.8984, 171.2891, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2334.7578, 168.0000, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2351.2188, 188.2969, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2348.8906, 183.5391, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2354.4844, 198.3438, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1468, -2353.1094, 193.2500, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2298.6406, 194.2031, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2289.6094, 181.0391, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2289.4375, 193.0938, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9766, 180.9766, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9766, 186.2891, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9766, 191.6016, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2298.6406, 199.5156, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9766, 202.2109, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9766, 196.9219, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2289.5234, 204.8750, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2298.6406, 204.8281, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2300.6484, 209.1875, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9766, 207.5313, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2309.2969, 214.3828, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2314.6094, 214.3828, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2319.9297, 214.3828, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2325.2422, 214.3828, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2309.5313, 222.2891, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2321.5781, 222.4609, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 3819, -2333.3594, 222.3750, 35.3125, 100);
    RemoveBuildingForPlayer(playerid, 673, -2284.0781, 216.8047, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2304.6563, 212.6719, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9766, 212.8438, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9844, 218.1250, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2273.1172, 222.1797, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9844, 223.4141, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2292.2344, 228.1563, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9844, 228.7344, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 672, -2330.0703, 238.7656, 35.2344, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9844, 234.0469, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 1412, -2261.9844, 239.3281, 35.5859, 100);
    RemoveBuildingForPlayer(playerid, 673, -2273.2813, 262.9375, 34.3672, 100);
    RemoveBuildingForPlayer(playerid, 672, -2298.9375, 279.9063, 35.2344, 100);
    {


    Bitte helft mir^^
    Benutze das LA Script

  • Du machst ganz unten eine Klammer auf,
    warum das?


    Außerdem musst du unter OnPlayerConnect die Klammer auf machen
    und unterdem Code der in OnPlayerConnect ist sie wieder zumachen

    "Bevor ich mir Informationen aus der "Bild" hole,
    werde ich anfangen, Wahlergebnisse danach vorauszusagen,
    neben welchen Busch unsere Katze gepinkelt hat."

    Margarete Stokowski