RemoveBuildingforplayer errors

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
  • RemoveBuildingForPlayer(playerid, 3737, 1525.5000, -691.6953, 96.0781, 0.25);
    RemoveBuildingForPlayer(playerid, 3734, 1497.8594, -674.8281, 99.8828, 0.25);
    RemoveBuildingForPlayer(playerid, 3604, 1525.5000, -691.6953, 96.0781, 0.25);
    RemoveBuildingForPlayer(playerid, 3605, 1497.8594, -674.8281, 99.8828, 0.25);

    //BSN
    RemoveBuildingForPlayer(playerid, 5858, 1214.1484, -913.4453, 43.0547, 0.25);
    RemoveBuildingForPlayer(playerid, 1522, 1199.9688, -917.6406, 42.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 6010, 1214.1484, -913.4453, 43.0547, 0.25);
    RemoveBuildingForPlayer(playerid, 706, 301.0859, -1115.3750, 79.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 706, 252.9063, -1156.1953, 77.7656, 0.25);
    RemoveBuildingForPlayer(playerid, 708, 287.9531, -1206.7266, 79.2891, 0.25);
    RemoveBuildingForPlayer(playerid, 3733, 310.6172, -1145.5234, 85.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 3737, 279.1328, -1152.2266, 82.4141, 0.25);
    RemoveBuildingForPlayer(playerid, 762, 245.1563, -1160.2813, 81.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 268.5234, -1189.7031, 78.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 274.1953, -1202.3281, 79.7344, 0.25);
    RemoveBuildingForPlayer(playerid, 3604, 279.1328, -1152.2266, 82.4141, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 310.2734, -1194.7422, 78.6719, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 329.2109, -1178.5391, 78.9531, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 336.5078, -1171.4531, 78.4063, 0.25);
    RemoveBuildingForPlayer(playerid, 3607, 310.6172, -1145.5234, 85.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 762, 337.4141, -1163.7188, 83.8047, 0.25);


    hi leute wenn ich das im script habe bekomme ich immer diesen error


    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12312) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12313) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12314) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12315) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12318) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12319) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12320) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12321) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12322) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12323) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12324) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12325) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12326) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12327) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12328) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12329) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12330) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12331) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12332) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12333) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12334) : error 017: undefined symbol "playerid"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12383) : error 017: undefined symbol "Noob3"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12384) : error 017: undefined symbol "Noob2"
    C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12385) : error 017: undefined symbol "Noob1"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    24 Errors.


    vorher hat das ohne errors geklappt ich weis nicht warum kann mir einer helfen ?

  • Du solltest es auch wo reinpacken, wo es den Parameter playerid gibt.

  • Oder mach ein Public

    forward Rausdamit(playerid); //Ganz oben bei Forwards


    Rausdamit(playerid); //OnPlayerConnect


    public Rausdamit(playerid) /*Ganz unten im Script!*/{ RemoveBuildingForPlayer(playerid, 3737, 1525.5000, -691.6953, 96.0781, 0.25); RemoveBuildingForPlayer(playerid, 3734, 1497.8594, -674.8281, 99.8828, 0.25);
    RemoveBuildingForPlayer(playerid, 3604, 1525.5000, -691.6953, 96.0781, 0.25);
    RemoveBuildingForPlayer(playerid, 3605, 1497.8594, -674.8281, 99.8828, 0.25);

    //BSN
    RemoveBuildingForPlayer(playerid, 5858, 1214.1484, -913.4453, 43.0547, 0.25);
    RemoveBuildingForPlayer(playerid, 1522, 1199.9688, -917.6406, 42.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 6010, 1214.1484, -913.4453, 43.0547, 0.25);
    RemoveBuildingForPlayer(playerid, 706, 301.0859, -1115.3750, 79.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 706, 252.9063, -1156.1953, 77.7656, 0.25);
    RemoveBuildingForPlayer(playerid, 708, 287.9531, -1206.7266, 79.2891, 0.25);
    RemoveBuildingForPlayer(playerid, 3733, 310.6172, -1145.5234, 85.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 3737, 279.1328, -1152.2266, 82.4141, 0.25);
    RemoveBuildingForPlayer(playerid, 762, 245.1563, -1160.2813, 81.8047, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 268.5234, -1189.7031, 78.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 274.1953, -1202.3281, 79.7344, 0.25);
    RemoveBuildingForPlayer(playerid, 3604, 279.1328, -1152.2266, 82.4141, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 310.2734, -1194.7422, 78.6719, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 329.2109, -1178.5391, 78.9531, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 336.5078, -1171.4531, 78.4063, 0.25);
    RemoveBuildingForPlayer(playerid, 3607, 310.6172, -1145.5234, 85.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 762, 337.4141, -1163.7188, 83.8047, 0.25);}


    Hoffe konnte helfen MFG ronny