Remove 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
  • Guten Tag, wir haben mit den SA:MP Editor ein Gebäude removt, jedoch ist es noch da...






    Bei OnPlayerConnect
    RemoveBuildingForPlayer(playerid, 1226, 1725.3906, -1897.2266, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1725.3906, -1897.2266, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1727.1953, -1930.8984, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1725.9063, -1923.5000, 12.9609, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1727.1953, -1908.0938, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1727.1953, -1916.3047, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1725.9063, -1908.1797, 12.9609, 0.25);
    RemoveBuildingForPlayer(playerid, 5078, 1616.6719, -1893.4844, 14.3281, 0.25);
    RemoveBuildingForPlayer(playerid, 634, 1712.9297, -1868.2109, 12.1328, 0.25);
    RemoveBuildingForPlayer(playerid, 634, 1721.0234, -1868.2109, 12.1328, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1727.1953, -1893.1563, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1725.9063, -1893.5000, 12.9609, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1724.8750, -1859.5391, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1703.4688, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1710.8359, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1714.9766, -1841.8516, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1710.8359, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1703.4688, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1704.7422, -1829.7969, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1721.1563, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1731.4766, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1741.7969, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1731.4766, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1721.1563, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1723.9297, -1829.7969, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1732.6719, -1830.0781, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1774.7578, -1931.3125, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1806.4297, -1931.6016, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 4821, 1745.2031, -1882.8516, 26.1406, 0.25);
    RemoveBuildingForPlayer(playerid, 5024, 1748.8438, -1883.0313, 14.1875, 0.25);
    RemoveBuildingForPlayer(playerid, 5083, 1748.8438, -1883.0313, 14.1875, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1774.7578, -1901.5391, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1806.4297, -1901.8281, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1755.8203, -1859.5391, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1808.1250, -1859.5391, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1783.6719, -1859.5391, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1747.1875, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1742.5547, -1835.0625, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1762.8281, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1778.4766, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1794.1172, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1809.7656, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 5854, 992.5313, -962.7344, 60.7813, 0.25);



    Was ist falsch?
    Die Gebäude haben keine Kollision man kann durch sie durchfahren, aber sie sind da?

  • Errors oder Klammerfehler?


    Ich glaube bei Errors hätte er net Compilieren können ;)



    Tony__Young


    Nimm erstmal die Doppelten Einträge raus... beim überfliegen hab ich gesehen das mehere doppelt und freifach drinne sind...


    Hast du evtl. i wo noch nen createObject / createdynamicobject der das Gebäude evtl. doch wieder streamt ?


    einfach mal nach der ObjectID im Script suchen ...

    Scripter Gesucht
    Wir suchen einen Scripter auf den Verlass ist.
    Dieser sollte auch MySQL können.


    TS3 / Page und Server vorhanden!


    Einfach melden ;)

  • Hier der ganze OnPlayerConnect
    public OnPlayerConnect(playerid)
    {
    if(IsPlayerNPC(playerid))return 1;
    new Spielerdatei[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
    if(dini_Exists(Spielerdatei))
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"{FF3C00}First-Roleplay {FEFEFE}Login","{FEFEFE}Willkommen auf {FF3C00}First-Roleplay{FEFEFE}.\nDie Datebank hat deinen Account gefunden.\nBitte gebe nun dein Passwort ein, was du bei der Registrierung angegeben hast.\nSolltest du dein Passwort vergessen haben, melde dich im TeamSpeak bei einem Projektleiter.\nDaher gebe dein Passwort niemals an andere User weiter.","Login","Abbrechen");
    }
    else
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"{FF3C00}First-Roleplay {FEFEFE}Registrierung","{FEFEFE}Willkommen auf {FF3C00}First-Roleplay{FEFEFE}.\nDie Datebank hat deinen Account nicht gefunden.\nBitte gebe nun dein gewünschtes Passwort ein, was du dir merken solltest.\nSolltest du dein Passwort vergessen haben, melde dich im TeamSpeak bei einem Projektleiter.\nDaher gebe dein Passwort niemals an andere User weiter.","Registrieren","Abbrechen");
    }
    SetPlayerColor(playerid,Grau);
    if(GetPVarInt(playerid,"Gebannt") == 1)
    {
    SendClientMessage(playerid,Hellblau,"Dieser Account ist gebannt. Solltest du zu Unrecht gebannt sein melde dich im Forum.");
    Kick(playerid);
    }
    TextDrawShowForPlayer(playerid,Uhr);
    TextDrawShowForPlayer(playerid,Datum);
    if(gettime()<dini_Int(Spielerdatei,"Timeban"))
    {
    SendClientMessage(playerid,Hellrot,"Du bist noch auf dem Gameserver gebannt, komme zu einem späteren Zeitpunkt wieder.");
    Kick(playerid);
    return 1;
    }
    RemoveBuildingForPlayer(playerid, 1226, 1725.3906, -1897.2266, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1725.3906, -1897.2266, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1727.1953, -1930.8984, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1725.9063, -1923.5000, 12.9609, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1727.1953, -1908.0938, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1727.1953, -1916.3047, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1725.9063, -1908.1797, 12.9609, 0.25);
    RemoveBuildingForPlayer(playerid, 5078, 1616.6719, -1893.4844, 14.3281, 0.25);
    RemoveBuildingForPlayer(playerid, 634, 1712.9297, -1868.2109, 12.1328, 0.25);
    RemoveBuildingForPlayer(playerid, 634, 1721.0234, -1868.2109, 12.1328, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1727.1953, -1893.1563, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1725.9063, -1893.5000, 12.9609, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1724.8750, -1859.5391, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1703.4688, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1710.8359, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1714.9766, -1841.8516, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1710.8359, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1703.4688, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1704.7422, -1829.7969, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1721.1563, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1731.4766, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1741.7969, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1731.4766, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1721.1563, -1833.0547, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1723.9297, -1829.7969, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1732.6719, -1830.0781, 11.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1774.7578, -1931.3125, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1806.4297, -1931.6016, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 4821, 1745.2031, -1882.8516, 26.1406, 0.25);
    RemoveBuildingForPlayer(playerid, 5024, 1748.8438, -1883.0313, 14.1875, 0.25);
    RemoveBuildingForPlayer(playerid, 5083, 1748.8438, -1883.0313, 14.1875, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1774.7578, -1901.5391, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1806.4297, -1901.8281, 16.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1755.8203, -1859.5391, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1808.1250, -1859.5391, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1783.6719, -1859.5391, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1747.1875, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1742.5547, -1835.0625, 16.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1762.8281, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1778.4766, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1794.1172, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1809.7656, -1846.7109, 10.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 5854, 992.5313, -962.7344, 60.7813, 0.25);
    return 1;
    }