Argument Mismatch

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.
    Habe das Busdepot von Chilltime eingefügt aber bekomme Warnings..


    Compile-Box ding:




    Aber warum?


    e: Link zur map http://pastebin.com/PmFAsN9W


    MFG

  • Jup


    public OnPlayerConnect(playerid)
    {
    //Fahnen
    RemoveBuildingForPlayer(playerid, 4003, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 77.6380); //removeWorldObject (LAcityhall1_LAn) (1)
    RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 77.6380); //removeWorldObject (LAcityhall1_LAn) (1)
    RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 96.1105); //removeWorldObject (LAcityhall2_LAn) (1)
    RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 96.1105); //removeWorldObject (LAcityhall2_LAn) (1)


    //Busdepot
    RemoveBuildingForPlayer(playerid, 1307, 816.406, -1416.210, 12.781, 0.250);
    RemoveBuildingForPlayer(playerid, 1307, 787.671, -1384.382, 12.781, 0.250);
    RemoveBuildingForPlayer(playerid, 1307, 847.273, -1385.601, 12.781, 0.250);
    RemoveBuildingForPlayer(playerid, 5783, 908.539, -1384.328, 24.515, 0.250);
    RemoveBuildingForPlayer(playerid, 6491, 717.484, -1357.304, 20.296, 0.250);
    RemoveBuildingForPlayer(playerid, 1689, 650.835, -1377.664, 21.757, 0.250);
    RemoveBuildingForPlayer(playerid, 1689, 650.835, -1356.585, 21.757, 0.250);
    RemoveBuildingForPlayer(playerid, 1689, 650.835, -1338.242, 21.757, 0.250);
    RemoveBuildingForPlayer(playerid, 1635, 677.195, -1328.875, 25.109, 0.250);
    RemoveBuildingForPlayer(playerid, 1689, 745.585, -1381.109, 25.875, 0.250);
    RemoveBuildingForPlayer(playerid, 1689, 751.335, -1368.031, 25.875, 0.250);
    RemoveBuildingForPlayer(playerid, 6490, 717.484, -1357.304, 20.296, 0.250);
    RemoveBuildingForPlayer(playerid, 6516, 717.687, -1357.281, 18.046, 0.250);
    RemoveBuildingForPlayer(playerid, 1635, 696.195, -1328.875, 25.109, 0.250);
    RemoveBuildingForPlayer(playerid, 1635, 702.234, -1328.875, 25.109, 0.250);
    RemoveBuildingForPlayer(playerid, 1635, 721.210, -1328.875, 25.109, 0.250);
    RemoveBuildingForPlayer(playerid, 1415, 732.851, -1332.898, 12.687, 0.250);
    RemoveBuildingForPlayer(playerid, 1439, 732.726, -1341.773, 12.632, 0.250);



    e: Zeile 504 is
    tmpobjid = CreateDynamicObject(11353,708.850,-1387.000,15.500,0.000,0.000,270.000,-1,-1,-1,300.000,300.000);
    SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000);




    Crashdetect sagt mir folgendes:
    [15:44:58] [debug] Run time error 19: "File or function is not found"
    [15:44:58] [debug] SetDynamicObjectMaterial
    [15:44:58] [debug] Run time error 19: "File or function is not found"
    [15:44:58] [debug] SetDynamicObjectMaterial
    [15:44:58] Script[gamemodes/script.amx]: Run time error 19: "File or function is not found"
    [15:44:58] Number of vehicle models: 0

    Einmal editiert, zuletzt von KingToni187 ()