Hilfe bei 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
  • Guten Tag,
    ich habe hier 26 Errors beim Haus / Biz System..


    Errors:
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11760) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11763) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11765) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11834) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11837) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11840) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11843) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11846) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11849) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11852) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11855) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11944) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11947) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11950) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11953) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11956) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11959) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11962) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11965) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11968) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11971) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11974) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11977) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11980) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11983) : error 035: argument type mismatch (argument 1)
    C:\Users\Neu\Desktop\LA-RP\gamemodes\neg.pwn(11985) : error 035: argument type mismatch (argument 1




    public LoadStuff()
    {
    new query[128],val[128];
    format(query, sizeof(query), "SELECT * FROM `stuff`");
    mysql_query(query);
    mysql_store_result();
    if(mysql_num_rows())
    {
    mysql_fetch_field("jackpot",val);
    Jackpot = strval(val);


    mysql_fetch_field("tax",val);
    Tax = strval(val);

    mysql_fetch_field("taxvalue",val);
    TaxValue = strval(val);

    mysql_fetch_field("security",val);
    Security = strval(val);

    mysql_fetch_field("verweigerarg",val);
    verweigerarg = strval(val);

    mysql_fetch_field("drugammo",val);
    drugsys[DrugAmmount] = strval(val);

    mysql_fetch_field("drugsave",val);
    drugsys[DrugsSaved] = strval(val);

    mysql_fetch_field("pizzabake",val);
    pizzasys[PizzaGebacken] = strval(val);
    }
    mysql_free_result();
    print("Servereinstellungen geladen!");
    return 1;
    }


    public LoadProperty()
    {
    new val[128],query[256];
    for(new idx=0; idx<sizeof(HouseInfo); idx++)
    {
    format(query, sizeof(query), "SELECT * FROM `houses` WHERE `houseid`='%i'", idx);
    mysql_query(query);
    mysql_store_result();
    if(mysql_num_rows())
    {
    mysql_fetch_field("hcreated",val);
    HouseInfo[idx][hCreated] = strval(val);


    mysql_fetch_field("hentrancex",val);
    HouseInfo[idx][hEntrancex] = floatstr(val);


    mysql_fetch_field("hentrancey",val);
    HouseInfo[idx][hEntrancey] = floatstr(val);


    mysql_fetch_field("hentrancez",val);
    HouseInfo[idx][hEntrancez] = floatstr(val);


    mysql_fetch_field("hexitx",val);
    HouseInfo[idx][hExitx] = floatstr(val);


    mysql_fetch_field("hexity",val);
    HouseInfo[idx][hExity] = floatstr(val);


    mysql_fetch_field("hexitz",val);
    HouseInfo[idx][hExitz] = floatstr(val);


    mysql_fetch_field("hhealthx",val);
    HouseInfo[idx][hHealthx] = strval(val);


    mysql_fetch_field("hhealthy",val);
    HouseInfo[idx][hHealthy] = strval(val);


    mysql_fetch_field("hhealthz",val);
    HouseInfo[idx][hHealthz] = strval(val);


    mysql_fetch_field("harmourx",val);
    HouseInfo[idx][hArmourx] = strval(val);


    mysql_fetch_field("harmoury",val);
    HouseInfo[idx][hArmoury] = strval(val);


    mysql_fetch_field("harmourz",val);
    HouseInfo[idx][hArmourz] = strval(val);


    mysql_fetch_field("howner",HouseInfo[idx][hOwner]);


    mysql_fetch_field("hdiscription",HouseInfo[idx][hDiscription]);