RemoveBuildingPlayer geht nicht

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
  • C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47255) : warning 213: tag mismatch
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47255) : warning 202: number of arguments does not match definition
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47256) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47257) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47258) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47259) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47260) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47261) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47262) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47263) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47264) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47265) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47266) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47267) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47268) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47269) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47270) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47271) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47272) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47273) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47274) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47275) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47276) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47277) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47278) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47279) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47280) : error 017: undefined symbol "playerid"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(47281) : error 017: undefined symbol "playerid"


    er findet das playerid nicht, was kann ich da machen?

  • jap sicher
    Nach mehrere Versuchen kam dies raus:
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(51475) : error 001: expected token: "-identifier-", but found "("
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(51478) : error 021: symbol already defined: "RemoveBuildingForPlayer"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • //-----------------------------------------------------SH MAP_________--------------------------------


    public OnePlayerConnect



    RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25);
    RemoveBuildingForPlayer(playerid, 4046, 1479.5234, -1852.6406, 24.5156, 0.25);
    RemoveBuildingForPlayer(playerid, 4047, 1531.6328, -1852.6406, 24.5156, 0.25);
    RemoveBuildingForPlayer(playerid, 1527, 1448.2344, -1755.8984, 14.5234, 0.25);
    RemoveBuildingForPlayer(playerid, 4217, 1449.2500, -1852.5703, 22.3672, 0.25);
    RemoveBuildingForPlayer(playerid, 713, 1407.1953, -1749.3125, 13.0938, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1482.0859, -1859.9688, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 713, 1405.2344, -1821.1172, 13.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1417.9766, -1832.5313, 11.9844, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1405.5781, -1831.6953, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1372, 1419.7344, -1846.5469, 12.6641, 0.25);
    RemoveBuildingForPlayer(playerid, 1372, 1419.6953, -1844.2031, 12.6641, 0.25);
    RemoveBuildingForPlayer(playerid, 1220, 1420.4922, -1842.4375, 12.9297, 0.25);
    RemoveBuildingForPlayer(playerid, 4170, 1433.9531, -1844.4063, 21.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1447.1016, -1832.5000, 12.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1432.3047, -1832.9141, 15.2891, 0.25);
    RemoveBuildingForPlayer(playerid, 4174, 1435.7656, -1823.6641, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1456.3984, -1832.5313, 11.9844, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1464.0938, -1831.8828, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1482.0859, -1859.9688, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4004, 1479.5234, -1852.6406, 24.5156, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1480.0313, -1832.9141, 15.2891, 0.25);
    RemoveBuildingForPlayer(playerid, 4171, 1503.3984, -1848.3359, 21.4609, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1504.8438, -1832.5313, 11.9844, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1499.0469, -1832.2734, 12.8828, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1512.9453, -1832.3516, 13.4688, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1404.9141, -1765.2656, 12.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 4173, 1427.2734, -1756.1797, 15.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1415.3125, -1748.5625, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1429.5313, -1748.4219, 12.9063, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1438.0313, -1747.9375, 13.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1447.9063, -1748.2266, 12.9063, 0.25);
    RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25);
    RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1516.0000, -1748.6016, 13.0078, 0.25);
    RemoveBuildingForPlayer(playerid, 4048, 1531.6328, -1852.6406, 24.5156, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1529.2891, -1832.9141, 15.2891, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1549.5313, -1832.3125, 12.8828, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1555.6641, -1830.5938, 13.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 4175, 1524.4141, -1823.8516, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1554.8203, -1816.1563, 13.4766, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1553.2578, -1764.8125, 12.7969, 0.25);
    RemoveBuildingForPlayer(playerid, 4172, 1534.7656, -1756.1797, 15.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1533.2656, -1749.0234, 12.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1522.1641, -1748.5703, 13.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1553.7031, -1747.9375, 13.4063, 0.25);
    RemoveBuildingForPlayer(playerid, 6056, 701.4375, -1417.1250, 17.6641, 0.25);

  • Aber dann kommt



    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(51476) : error 001: expected token: "-identifier-", but found "{"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(51478) : error 021: symbol already defined: "RemoveBuildingForPlayer"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.

  • Hab es jetzt so gemacht, aber jetzt kommt dies raus ://
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(51475) : error 001: expected token: "-identifier-", but found "("
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(51478) : error 021: symbol already defined: "RemoveBuildingForPlayer"
    C:\Users\Lasse\Desktop\Selfmade\Magical Reallife - Script 0.5.2\gamemodes\mr-reallife.pwn(51527) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.

  • public OnPlayerConnect(playerid)
    {


    RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25);
    RemoveBuildingForPlayer(playerid, 4046, 1479.5234, -1852.6406, 24.5156, 0.25);
    RemoveBuildingForPlayer(playerid, 4047, 1531.6328, -1852.6406, 24.5156, 0.25);
    RemoveBuildingForPlayer(playerid, 1527, 1448.2344, -1755.8984, 14.5234, 0.25);
    RemoveBuildingForPlayer(playerid, 4217, 1449.2500, -1852.5703, 22.3672, 0.25);
    RemoveBuildingForPlayer(playerid, 713, 1407.1953, -1749.3125, 13.0938, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1482.0859, -1859.9688, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 713, 1405.2344, -1821.1172, 13.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1417.9766, -1832.5313, 11.9844, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1405.5781, -1831.6953, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1372, 1419.7344, -1846.5469, 12.6641, 0.25);
    RemoveBuildingForPlayer(playerid, 1372, 1419.6953, -1844.2031, 12.6641, 0.25);
    RemoveBuildingForPlayer(playerid, 1220, 1420.4922, -1842.4375, 12.9297, 0.25);
    RemoveBuildingForPlayer(playerid, 4170, 1433.9531, -1844.4063, 21.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1447.1016, -1832.5000, 12.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1432.3047, -1832.9141, 15.2891, 0.25);
    RemoveBuildingForPlayer(playerid, 4174, 1435.7656, -1823.6641, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1456.3984, -1832.5313, 11.9844, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1464.0938, -1831.8828, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1482.0859, -1859.9688, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4004, 1479.5234, -1852.6406, 24.5156, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1480.0313, -1832.9141, 15.2891, 0.25);
    RemoveBuildingForPlayer(playerid, 4171, 1503.3984, -1848.3359, 21.4609, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1504.8438, -1832.5313, 11.9844, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1499.0469, -1832.2734, 12.8828, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1512.9453, -1832.3516, 13.4688, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1404.9141, -1765.2656, 12.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 4173, 1427.2734, -1756.1797, 15.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1415.3125, -1748.5625, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1429.5313, -1748.4219, 12.9063, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1438.0313, -1747.9375, 13.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1447.9063, -1748.2266, 12.9063, 0.25);
    RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25);
    RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1516.0000, -1748.6016, 13.0078, 0.25);
    RemoveBuildingForPlayer(playerid, 4048, 1531.6328, -1852.6406, 24.5156, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1529.2891, -1832.9141, 15.2891, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1549.5313, -1832.3125, 12.8828, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1555.6641, -1830.5938, 13.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 4175, 1524.4141, -1823.8516, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1554.8203, -1816.1563, 13.4766, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1553.2578, -1764.8125, 12.7969, 0.25);
    RemoveBuildingForPlayer(playerid, 4172, 1534.7656, -1756.1797, 15.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1533.2656, -1749.0234, 12.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1522.1641, -1748.5703, 13.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1553.7031, -1747.9375, 13.4063, 0.25);
    RemoveBuildingForPlayer(playerid, 6056, 701.4375, -1417.1250, 17.6641, 0.25);
    return 1;
    }






    So müsste es gehen..

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen