26 Errors (Klammer fehler?)

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
  • Nabend!Ich hoffe ihr könnt mir helfenC:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4136) : error 017: undefined symbol





    "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4137) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4138) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4139) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4140) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4141) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4142) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4143) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4144) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4145) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4146) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4147) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4148) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4149) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4150) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4151) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4152) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4153) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4154) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4155) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4156) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4157) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4158) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4159) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4160) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4161) : error 017: undefined symbol "RemoveBuildingForPlayer"



    Die Zeile:




    Function OnPlayerConnect(playerid)
    {
    RemoveBuildingForPlayer(playerid, 3685, 1249.5547, -905.4609, 45.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1287.6875, -900.4609, 45.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1284.2031, -871.2969, 45.2734, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1245.4609, -874.7031, 45.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 1308, 1233.0000, -921.0625, 42.0156, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1235.8281, -917.5234, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1231.4141, -886.9297, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1241.1953, -886.8438, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1227.6094, -870.8047, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1261.9531, -913.7813, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1266.4219, -913.1797, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 1308, 1280.2422, -912.5234, 41.3047, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1272.3516, -912.4531, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1275.6016, -911.9609, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1249.5547, -905.4609, 45.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1263.8828, -894.3516, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1211, 1266.0859, -906.7031, 42.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1270.9609, -896.6172, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1265.0313, -897.3516, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1271.8672, -892.3672, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1299.5000, -909.1406, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1287.6875, -900.4609, 45.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 5847, 1295.8594, -895.0938, 41.7109, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1252.2578, -885.8750, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1262.9844, -882.2188, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1271.2031, -882.3984, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1285.6484, -881.3125, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1245.4609, -874.7031, 45.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1284.2031, -871.2969, 45.2734, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1303.1094, -879.9531, 44.3594, 0.25);


    Ich hoffe ihr könnt mir helfen ;)

  • Doch die Includes sind die neusten
    erkennst du vllt den fehler?
    lg

  • An deinem Code ist kein Fehler ^^


    Der Error sagt aus, dass RemoveBuildingForPlayer nicht deklariert wurde...


    Also entweder neuesten Includes downloaden und in den Pawno Ordner packen oder nach einem Klammerfehler suchen ^^


    mfg. :thumbup:

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S

  • Neusten Includes habe ich schon ;)
    Jetzt finde ich nur nicht den dummen Klammerfehler
    Kannst du mir vllt helfen?

  • Ne, tut mir leid, gerade keine Lust ein Script nach einem Klammerfehler zu durchsuchen :pinch:


    Gehe jetzt eh schlafen...


    mfg. :sleeping:

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • /*RemoveBuildingForPlayer(playerid, 3685, 1249.5547, -905.4609, 45.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1287.6875, -900.4609, 45.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1284.2031, -871.2969, 45.2734, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1245.4609, -874.7031, 45.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 1308, 1233.0000, -921.0625, 42.0156, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1235.8281, -917.5234, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1231.4141, -886.9297, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1241.1953, -886.8438, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1227.6094, -870.8047, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1261.9531, -913.7813, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1266.4219, -913.1797, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 1308, 1280.2422, -912.5234, 41.3047, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1272.3516, -912.4531, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1275.6016, -911.9609, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1249.5547, -905.4609, 45.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1263.8828, -894.3516, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1211, 1266.0859, -906.7031, 42.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1270.9609, -896.6172, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1265.0313, -897.3516, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1271.8672, -892.3672, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1299.5000, -909.1406, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1287.6875, -900.4609, 45.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 5847, 1295.8594, -895.0938, 41.7109, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1252.2578, -885.8750, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1262.9844, -882.2188, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1271.2031, -882.3984, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1285.6484, -881.3125, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1245.4609, -874.7031, 45.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1284.2031, -871.2969, 45.2734, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1303.1094, -879.9531, 44.3594, 0.25);*/


    Auskommentieren und kompilen

  • C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(4340) : warning 216: nested comment
    C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(63343) : warning 203: symbol is never used: "Desktop_Check"
    C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(63343) : warning 203: symbol is never used: "Desktop_Status"
    C:\Users\Durdu\Desktop\neueversion0.3\gamemodes\LoH2.pwn(63343) : warning 203: symbol is never used: "M_OnPlayerConnect"


    Zeile 4340
    /*TicketZeile[playerid] = 0;



    Zeile 63343
    Ist nichts...

  • Gib in der Suche ein: "Desktop_Check" , "Desktop_Status" , "M_OnPlayerConnect"
    und definiere sie einfach mal raus.
    //TicketZeile[playerid] = 0;

    ''Remember to keep yourself alive there is nothing more important than that.''

  • Danke an euch allen ;)
    Jetzt habe ich 0 Errors und 0 Warnings ;)


    Danke an Vincet :thumbup: