Wo müssen die Removes bei einem Mapping hin?

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
  • Hallo,


    Ich habe eine Mapp von mir in einen Script eingefügt.


    Und zwar sah dies so aus:

    stock LoadAllDynamicObjects()
    {
    RemoveBuildingForPlayer(playerid, 1491, 944.5625, -52.7031, 1000.1172, 0.25);
    RemoveBuildingForPlayer(playerid, 14817, 949.4844, -50.8359, 1001.8672, 0.25);
    RemoveBuildingForPlayer(playerid, 1491, 944.1016, -49.3203, 1000.1172, 0.25);
    RemoveBuildingForPlayer(playerid, 1491, 951.0547, -52.7031, 1000.1172, 0.25);
    RemoveBuildingForPlayer(playerid, 1491, 951.0078, -49.3203, 1000.1172, 0.25);
    RemoveBuildingForPlayer(playerid, 1725, 951.9844, -46.2813, 1000.1250, 0.25);
    RemoveBuildingForPlayer(playerid, 1803, 952.9609, -57.4375, 1000.0938, 0.25);
    RemoveBuildingForPlayer(playerid, 2576, 955.1953, -55.4531, 1000.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 2573, 955.3281, -43.5547, 1000.1016, 0.25);
    CreateDynamicObject(2847, 946.97522, -47.89420, 1000.50348, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(2847, 947.05072, -48.73700, 1000.49951, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1516, 943.64996, -41.08196, 1000.11383, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1516, 944.78998, -41.11319, 1000.11383, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1516, 945.95013, -41.12462, 1000.11383, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1516, 947.09094, -41.08952, 1000.11383, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(356, 943.44043, -40.63888, 1000.74298, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(348, 944.53027, -40.65422, 1000.77087, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(353, 945.66034, -40.66950, 1000.74432, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(358, 946.90784, -40.72879, 1000.85181, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1575, 943.66058, -41.37770, 1000.62500, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(19893, 944.78510, -41.29601, 1000.63928, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(19893, 945.88507, -41.32236, 1000.63928, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1575, 947.09052, -41.35910, 1000.63409, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1550, 943.61310, -61.54331, 1000.96820, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1550, 943.58820, -61.16838, 1000.96820, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1550, 943.50885, -60.77787, 1000.96820, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1550, 943.94440, -60.69658, 1000.96820, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1550, 943.94415, -61.10840, 1000.96820, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1550, 943.92419, -61.48524, 1000.96820, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 955.19379, -58.90397, 1000.42291, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 953.87238, -58.89467, 1000.42291, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 952.55090, -58.88537, 1000.42291, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 951.23083, -58.89224, 1000.42291, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 949.91095, -58.89911, 1001.44305, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 949.91095, -58.89911, 1000.42291, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 951.21613, -58.87814, 1001.44305, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 952.53839, -58.89857, 1001.44305, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 953.86206, -58.89642, 1001.44305, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1771, 955.16583, -58.89277, 1001.44305, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(2573, 955.35474, -53.02866, 1000.10052, 356.85840, 0.00000, -1.57080);
    CreateDynamicObject(1829, 949.58264, -42.71042, 1000.55859, 0.00000, 0.00000, 359.59393);
    CreateDynamicObject(1829, 950.41351, -42.71128, 1000.55859, 0.00000, 0.00000, 359.59393);
    CreateDynamicObject(1829, 951.23297, -42.71462, 1000.55859, 0.00000, 0.00000, 359.59393);
    CreateDynamicObject(1829, 952.03522, -42.71156, 1000.55859, 0.00000, 0.00000, 359.59393);
    CreateDynamicObject(1829, 952.85602, -42.70201, 1000.55859, 0.00000, 0.00000, 359.59393);
    CreateDynamicObject(1829, 953.67517, -42.69471, 1000.55859, 0.00000, 0.00000, 359.59393);
    CreateDynamicObject(1829, 954.49689, -42.67956, 1000.55859, 0.00000, 0.00000, 359.59393);
    CreateDynamicObject(1829, 955.31824, -42.70424, 1000.55859, 0.00000, 0.00000, 359.59393);
    CreateDynamicObject(3111, 952.12518, -42.06370, 1001.72498, 90.00000, 0.00000, 0.00000);
    CreateDynamicObject(1575, 961.13165, -57.47996, 1000.93146, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1575, 960.44421, -57.47557, 1000.93146, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1508, 964.98975, -54.81554, 1001.84961, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1575, 947.36761, -47.24274, 1000.51404, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1575, 947.38116, -47.62302, 1000.51404, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1575, 952.59882, -41.91056, 1000.51404, 0.00000, 0.00000, 0.00000);
    CreateDynamicObject(1575, 947.39417, -48.04330, 1000.51404, 0.00000, 0.00000, 0.00000);
    }


    Doch als ich dies Compailte, sah es so aus:

    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(26) : error 017: undefined symbol "playerid"
    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(27) : error 017: undefined symbol "playerid"
    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(28) : error 017: undefined symbol "playerid"
    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(29) : error 017: undefined symbol "playerid"
    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(30) : error 017: undefined symbol "playerid"
    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(31) : error 017: undefined symbol "playerid"
    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(32) : error 017: undefined symbol "playerid"
    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(33) : error 017: undefined symbol "playerid"
    C:\Users\jan\Desktop\Blank-Script\gamemodes\impressiv.pwn(34) : error 017: undefined symbol "playerid"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    9 Errors.


    Woran liegt das,


    Wo müssen die Removes den sonst hin,


    Und als ich die playerids beim Remove weg gemacht hatte kamen 18 Warnings