Plötzliche Warnings bei Junkbuster

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 tag
    Ich habe grade Junkbuster installiert . Doch nach dem ich die #include <JunkBuster> ins skript getan habe kamen plötzlich 12 Warnings anstellen wo ich gar nichts gemacht habe und wo sie früher nicht da waren.


    Die Warnings


    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(281) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(288) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(295) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(302) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(309) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(323) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(337) : warning 201: redefinition of constant/macro (symbol "ResetPlayerWeapons")
    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(344) : warning 201: redefinition of constant/macro (symbol "SetPlayerHealth")
    C:\Users\Darius\Desktop\sa server\pawno\include\JunkBuster.inc(351) : warning 201: redefinition of constant/macro (symbol "SetPlayerArmour")
    C:\Users\Darius\Desktop\sa server\gamemodes\Greenlightfix.pwn(24080) : warning 202: number of arguments does not match definition
    C:\Users\Darius\Desktop\sa server\gamemodes\Greenlightfix.pwn(31111) : warning 202: number of arguments does not match definition
    C:\Users\Darius\Desktop\sa server\gamemodes\Greenlightfix.pwn(31684) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    12 Warnings.


    Die zeilen:


    281-351


    {458,"Solair",135000,739.8586,-1343.2369,13.5212,260.6099,783.8115,-1351.3041,13.4243,89.2738},
    {467,"Oceanic",138000,739.8586,-1343.2369,13.5212,260.6099,783.7657,-1355.7397,13.2798,89.8498},
    {496,"Blista Compact",100000,739.8586,-1343.2369,13.5212,260.6099,784.3522,-1359.7819,13.2588,92.8627},
    {475,"Sabre",108000,739.8586,-1343.2369,13.5212,260.6099,784.0540,-1363.6578,13.3433,91.3383},
    {543,"Sadler",138000,739.8586,-1343.2369,13.5212,260.6099,784.0724,-1367.6761,13.3565,89.8814},
    {533,"Feltzer",129000,739.8586,-1343.2369,13.5212,260.6099,784.1492,-1371.3898,13.2631,90.9766},
    {540,"Vincent",108000,739.8586,-1343.2369,13.5212,260.6099,783.7069,-1374.9211,13.4604,88.7509},
    {565,"Flash",125000,739.8586,-1343.2369,13.5212,260.6099,783.8160,-1378.6798,13.2697,90.3132},
    {535,"Slamvan",200000,739.8586,-1343.2369,13.5212,260.6099,784.0175,-1382.5913,13.4522,86.6044},
    {474,"Hermes",138000,739.8586,-1343.2369,13.5212,260.6099,760.8021,-1379.1677,13.3962,271.1054},
    {545,"Hustler",115000,739.8586,-1343.2369,13.5212,260.6099,761.3039,-1376.0748,13.4067,270.2395},
    {550,"Sunrise",123000,739.8586,-1343.2369,13.5212,260.6099,761.0652,-1372.7755,13.4241,268.4661},
    {507,"Elegant",100000,739.8586,-1343.2369,13.5212,260.6099,760.6935,-1368.8972,13.3418,269.9946},
    {534,"Remington",90000,739.8586,-1343.2369,13.5212,260.6099,760.6251,-1365.3376,13.2246,268.2537},
    {602,"Alpha",110000,739.8586,-1343.2369,13.5212,260.6099,760.9346,-1361.8179,13.2460,270.8210},
    //Luxus 10
    {411,"Infernus",2500000,-1637.9468,1296.7834,7.0352,132.7516,-1667.3179,1206.3340,20.8833,302.5244},
    {559,"Jester",2000000,-1637.9468,1296.7834,7.0352,132.7516,-1657.4965,1205.1412,20.8127,2.6880},
    {558,"Uranus",1200000,-1637.9468,1296.7834,7.0352,132.7516,-1648.8109,1206.5079,20.7845,51.7230},
    {451,"Turismo",3500000,-1637.9468,1296.7834,7.0352,132.7516,-1659.0795,1218.5370,20.8576,197.4241},
    {562,"Elegy",1500000,-1637.9468,1296.7834,7.0352,132.7516,-1666.7043,1221.9187,20.8149,203.2796},
    {541,"Bullet",5000000,-1637.9468,1296.7834,7.0352,132.7516,-1677.0886,1207.3359,13.2985,280.1290},
    {506,"Super GT",3800000,-1637.9468,1296.7834,7.0352,132.7516,-1665.1005,1222.5503,13.4172,224.3459},
    {560,"Sultan",1500000,-1637.9468,1296.7834,7.0352,132.7516,-1658.6940,1216.4921,13.3778,148.1088},
    {477,"ZR-350",1800000,-1637.9468,1296.7834,7.0352,132.7516,-1649.8773,1208.3557,13.4246,51.4841},
    {415,"Cheetah",3200000,-1637.9468,1296.7834,7.0352,132.7516,-1666.9650,1205.7092,13.4077,310.3703},


    //Bikeautohaus 7
    {468,"Sanchez",35000,1983.1168,2048.2510,10.8203,318.9629,1979.1255,2061.2710,10.4833,130.4523},
    {461,"PCJ-600",70000,1983.1168,2048.2510,10.8203,318.9629,1982.8433,2060.5815,10.4029,158.1251},
    {463,"Freeway",90000,1983.1168,2048.2510,10.8203,318.9629,1994.9220,2050.3254,10.3540,120.9672},
    {462,"Faggio",15000,1983.1168,2048.2510,10.8203,318.9629,1995.5065,2046.6947,10.4020,123.2511},
    {471,"Quad",60000,1983.1168,2048.2510,10.8203,318.9629,1994.9058,2054.7947,10.3012,136.9546},
    {521,"FCR-900",90000,1983.1168,2048.2510,10.8203,318.9629,1994.9722,2042.4457,10.3755,117.4199},
    {581,"BF-400",57000,1983.1168,2048.2510,10.8203,318.9629,1990.3751,2060.6970,10.4128,136.4718}
    };
    enum Ainfo
    {
    Float:Park_x,
    Float:Park_y,
    Float:Park_z,
    Float:Park_rot,
    Farbe1,
    Farbe2,
    Paintjob,
    Spoiler,
    Hood,
    Roof,
    Sideskirt,
    Lamps,
    Nitro,
    Exhaust,
    Wheels,
    Stereo,
    Hydraulics,
    FrontBumper,
    RearBumper,
    VentRight,
    VentLeft,
    modelid,
    preis
    }
    new Autos[MAX_PLAYERS][MAX_PLAYER_CARS][Ainfo];


    //autonachricht
    forward Servernachricht();


    /********************************************************************************************************************/
    //============================================ 0.3c DEFINITIONEN ====================================================
    /********************************************************************************************************************/
    #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1


    24080
    if (strcmp("/pdlift", cmdtext, true) == 0)
    {
    if(IsACop(playerid))
    {
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 226.0206,183.8430,1003.0313))
    {
    SetPlayerPos(playerid, 1557.1471,-1675.6034,28.3955,101.4593);//Hier ist der Warning
    GameTextForPlayer(playerid, "~g~LSPD Dach", 5000, 1);
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid, 0);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 3.0, 1557.1471,-1675.6034,28.3955))
    {
    SetPlayerPos(playerid, 226.0206,183.8430,1003.0313);
    SetPlayerInterior(playerid, 3);
    SetPlayerVirtualWorld(playerid, 0);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 20.0, 1560.1989746094, -1636.033203125, 12.467700004578) || IsPlayerInRangeOfPoint(playerid, 20.0, 1560.1989746094, -1636.033203125, 12.467700004578))
    {
    if(LSLift == false)
    {
    SendClientMessage(playerid, COLOR_GREEN, "Bitte warten...");
    MoveObject(LSPDLift, 1560.1989746094, -1636.033203125, 27.297700881958, 1.5);
    LSLift = true;
    }
    else if(LSLift == true)
    {
    SendClientMessage(playerid, COLOR_RED, "Bitte warten...");
    MoveObject(LSPDLift, 1560.1989746094, -1636.033203125, 12.467700004578, 1.5);
    LSLift = false;
    }
    }
    }
    }


    3111
    else if(IsPlayerInRangeOfPoint(playerid,3.0,595.2687,-1249.7780,18.2601))
    {
    GameTextForPlayer(playerid, "~w~Willkommen im Arbeitsamt~n~ benutze ~r~/jobs", 5000, 1);
    SetPlayerInterior(playerid, 15);
    SetPlayerPos(playerid,2216.3401,-1150.5100,1025.7969,270.0000);//hier
    }


    31684
    else if(IsPlayerInRangeOfPoint(playerid,3.0,2216.3401,-1150.5100,1025.7969))
    {
    GameTextForPlayer(playerid, "~w~Sehen wir uns wieder?!", 5000, 1);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid,595.1260,-1249.7556,18.2558,12.6570);//Hier
    }


    Ich hab keine Ahnung wo die her kamen den die kamen plötzlich. Nach dem ich Junkbuster 11 Installiert habe.


    MFG
    TRONIIX


    P.S freue mich über jede Art von Hilfe

    Projekt:


    German CrimeLife Testserver: 5.62.71.62:7777

  • Das geht aber wenn ich dann nur das FS anhabe und mir geld gebe werde ich direkt gebannt/gekickt oder das geld verschwindet


    Das ist so, weil in Junkbuster die Orte, wo man an Waffen oder Geld gelangt, fest definiert sind. Schau dir das FS mal ganz genau an, dann kannst du ggf. alles etwas deinen Wünschen anpassen. ;)