Palmen werden nicht entfernt

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 Morgen,


    ich habe das Problem dass die Palmen am lspd nicht entfernt werden, hab es aber mit dem Map Editor gemacht.


    Nur die 2 Anzeigetafeln werden entfernt, der Rest nicht, so langsam verzweifle ich daran.


    Spoiler anzeigen
    #include <a_samp>

    Spoiler anzeigen
    public OnPlayerConnect(playerid){
    /* Los Santos Police Department */
    RemoveBuildingForPlayer(playerid,4096,1602.9141, -1608.1641, 19.0547,2);
    RemoveBuildingForPlayer(playerid,1266,1538.5234, -1609.8047, 19.8438,2);
    RemoveBuildingForPlayer(playerid,1266,1565.4141, -1722.3125, 25.0391,2);
    RemoveBuildingForPlayer(playerid,4229,1597.9063, -1699.7500, 30.2109,2);
    RemoveBuildingForPlayer(playerid,4230,1597.9063, -1699.7500, 30.2109,2);
    RemoveBuildingForPlayer(playerid,620,1429.5313, -1748.4219, 12.9063,2);
    RemoveBuildingForPlayer(playerid,620,1447.9063, -1748.2266, 12.9063,2);
    RemoveBuildingForPlayer(playerid,620,1516.0000, -1748.6016, 13.0078,2);
    RemoveBuildingForPlayer(playerid,620,1419.3281, -1710.2344, 11.8359,2);
    RemoveBuildingForPlayer(playerid,712,1445.8125, -1650.0234, 22.2578,2);
    RemoveBuildingForPlayer(playerid,620,1461.6563, -1707.6875, 11.8359,2);
    RemoveBuildingForPlayer(playerid,620,1461.1250, -1687.5625, 11.8359,2);
    RemoveBuildingForPlayer(playerid,641,1458.6172, -1684.1328, 11.1016,2);
    RemoveBuildingForPlayer(playerid,625,1457.2734, -1666.2969, 13.6953,2);
    RemoveBuildingForPlayer(playerid,712,1471.4063, -1666.1797, 22.2578,2);
    RemoveBuildingForPlayer(playerid,625,1458.2578, -1659.2578, 13.6953,2);
    RemoveBuildingForPlayer(playerid,712,1449.8516, -1655.9375, 22.2578,2);
    RemoveBuildingForPlayer(playerid,625,1457.3516, -1650.5703, 13.6953,2);
    return 1;
    }

  • Versuch mal diesen Code, sind alle Palmen und die zwei Werbetafeln am LSPD weg:


    Code
    RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1709.6406, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);