Problem mit Mysql Update Bitte um Hilfe

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
  • hey Leute brauche bissen hilfe wolte mysql 41 updaten un bekomme sehr viele Errord und warning hoffe ihr könnt mir helfen



    cache_get_data(rows,fields);
    if(rows)
    {
    cache_get_field_content(0,"Tutorial",result); Spieler[playerid][pViewTutorial] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Admin",result); Spieler[playerid][pAdmin] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Verwarnungen",result); Spieler[playerid][pWarns] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"FLeaderRechte",result); Spieler[playerid][pLeader] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Fraktion",result); Spieler[playerid][pFraktion] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"FraktionsRang",result); Spieler[playerid][pFraktRang] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"FraktionsSperre",result); Spieler[playerid][pFraktionSperre] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"FraktionsGehalt",result); Spieler[playerid][pFraktionsGehalt] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Job",result); Spieler[playerid][pJob] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"JobWarns",result); Spieler[playerid][JobWarns] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"JobSperre",result); Spieler[playerid][pJobSperre] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"ArbeitslosenGeld",result); Spieler[playerid][pWorkLess] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Geschlecht",result); Spieler[playerid][pSex] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"SpielerAlter",result); Spieler[playerid][pYearsOld] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Level",result); SetPlayerLevel(playerid,strval(result)); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Geld",result); ACMoney(playerid,strval(result)); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"GWD",result); Spieler[playerid][pGrundwehrdienst] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Zivinote",result); Spieler[playerid][pZiviNote] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"FAbteilung",result); Spieler[playerid][pFraktABTInvite] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Bankguthaben",result); Spieler[playerid][pBank] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"BankPin",result); Spieler[playerid][pBankPin] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"WantedSterne",result); SetPlayerWantedLevel(playerid,strval(result)); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"WantedPunkte",result); Spieler[playerid][pWantedPoints] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Suspects",result); Spieler[playerid][pSuspectPoints] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Wanted_Grund1",result); strmid(pWantedReason1[playerid],result,0,strlen(result),64); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Wanted_Grund2",result); strmid(pWantedReason2[playerid],result,0,strlen(result),64); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Wanted_Grund3",result); strmid(pWantedReason3[playerid],result,0,strlen(result),64); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Wanted_Grund4",result); strmid(pWantedReason4[playerid],result,0,strlen(result),64); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Wanted_Grund5",result); strmid(pWantedReason5[playerid],result,0,strlen(result),64); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Crimes",result); Spieler[playerid][pLastSuspects] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"STVOcrimes",result); Spieler[playerid][pSTVOpoints] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"KampfStyle",result); SetPlayerFightingStyle(playerid,strval(result)); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Handy",result); Spieler[playerid][pHandy] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Handycoins",result); Spieler[playerid][pHandyCoins] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"HandyStatus",result); Spieler[playerid][pHandystate] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"HandyAkku",result); Spieler[playerid][pHandyakku] = floatstr(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"HandyNummer",result); Spieler[playerid][pPhonenumber] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Handyflat",result); Spieler[playerid][pHandyFlat] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Handyflatbuyinbiz",result); Spieler[playerid][pHandyBuyByBiz] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Letzte_X",result); Spieler[playerid][LastInGamePos_x] = floatstr(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Letzte_Y",result); Spieler[playerid][LastInGamePos_y] = floatstr(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Letzte_Z",result); Spieler[playerid][LastInGamePos_z] = floatstr(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Letzte_Interior",result); Spieler[playerid][LastInGamePos_int] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Letzte_VirtualWorld",result); Spieler[playerid][LastInGamePos_world] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pSelectHome",result); Spieler[playerid][pSelectHome] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"HausMieter",result); Spieler[playerid][pRentHome] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Spawn",result); Spieler[playerid][pSpawn] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Hotel",result); Spieler[playerid][pHotel] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Tod",result); Spieler[playerid][pDeath] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Tot_X",result); Spieler[playerid][tot_x] = floatstr(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Tot_Y",result); Spieler[playerid][tot_y] = floatstr(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Tot_Z",result); Spieler[playerid][tot_z] = floatstr(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Tot_Interior",result); Spieler[playerid][tot_int] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Tot_VirtualWorld",result); Spieler[playerid][tot_world] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"TotZeit",result); Spieler[playerid][pDeathTime] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Friedhof",result); Spieler[playerid][pFriedhof] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"FriedhofZeit",result); Spieler[playerid][pFriedhofTime] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"ImKnast",result); Spieler[playerid][pJailed] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"KnastZeit",result); Spieler[playerid][pJailTime] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"KnastKaution",result); Spieler[playerid][pKaution] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Muted",result); Spieler[playerid][pMuted] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"MuteZeit",result); Spieler[playerid][pMuteTime] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"ImPrison",result); Spieler[playerid][pInPrison] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"PrisonCPRun",result); Spieler[playerid][pPrisonCPsgelaufen] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"PrisonCPGive",result); Spieler[playerid][pPrisonCPsgegeben] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Morde",result); Spieler[playerid][pMorde] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Tode",result); Spieler[playerid][pTode] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"SkinID",result); Spieler[playerid][pSkin] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"FraktionSkinID",result); Spieler[playerid][pFraktSkin] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"PaintBallKills",result); Spieler[playerid][pPBKills] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"PaintBallTode",result); Spieler[playerid][pPBDeaths] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"PaintBallRang",result); Spieler[playerid][pPBRang] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"PaintBallBesuche",result); Spieler[playerid][pPBVisits] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"AngenommeneReports",result); Spieler[playerid][Reports] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"KopfGeld",result); Spieler[playerid][pHeadMoney] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pWantedDeaths",result); Spieler[playerid][pWantedDeaths] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pBuyTickets",result); Spieler[playerid][pBuyTickets] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pJailedCount",result); Spieler[playerid][pJailedCount] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Bankkonto",result); Spieler[playerid][pBankkonto] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pArmyPlaneOrder",result); Spieler[playerid][pArmyPlaneOrder] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pArmyHeliOrder",result); Spieler[playerid][pArmyHeliOrder] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pArmyWaffenOrder",result); Spieler[playerid][pArmyWaffenOrder] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"LevelUPKosten",result); Spieler[playerid][pLevelKosten] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"RespectForLevelUp",result); Spieler[playerid][pRespektToLevelUp] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"RespectFromPayday",result); Spieler[playerid][pRespektFromPayday] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"TimeAfterRegister",result); Spieler[playerid][pTimeAfterRegister] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Time4Payday",result); Spieler[playerid][pMinutesAfterPayday] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"TimeoutCrashExeorKick",result); Spieler[playerid][pAntiOfflineFlucht] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"HabGeworben",result); Spieler[playerid][HatGeworben] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pPremium",result); Spieler[playerid][pPremium] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"GeworbenerSpieler",result); strmid(Spieler[playerid][GeworbenPlaya],result,0,strlen(result),24);strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pScheinSperre",result); Spieler[playerid][pScheinSperre] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"DigiHud",result); Spieler[playerid][DigiHud] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Bonus",result); Spieler[playerid][pStartbonus] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pOrgLeader",result); Spieler[playerid][pOrgLeader] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pOrgMember",result); Spieler[playerid][pOrgMember] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pLohn",result); Spieler[playerid][pLohn] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"WaitPerso",result); Spieler[playerid][WaitPerso] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pMarried",result); strmid(Spieler[playerid][pMarried],result,0,strlen(result),sizeof(result));strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pBuyClothes",result); Spieler[playerid][pBuyClothes] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pTsIdent",result); strmid(Spieler[playerid][pTsIdent],result,0,strlen(result),24); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pIll",result); Spieler[playerid][pIll] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pConterminatedTime",result); Spieler[playerid][pConterminatedTime] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pBitchSkill",result); Spieler[playerid][pBitchSkill] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pBitchFuckCount",result); Spieler[playerid][pBitchFuckCount] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pMedicHealplayerSkill",result); Spieler[playerid][pMedicHealplayerSkill] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"pMedicHealCount",result); Spieler[playerid][pMedicHealCount] = strval(result); strdel(result,0,sizeof(result));
    cache_get_field_content(0,"Geburtstag",result); format(Spieler[playerid][pGeburtstag], 11, result); strdel(result,0,sizeof(result));



    /Server\gamemodes\GeTmyselfmade.pwn(65726) : error 017: undefined symbol "cache_get_data"
    /Server\gamemodes\GeTmyselfmade.pwn(65729) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65730) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65731) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65732) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65733) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65734) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65735) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65736) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65737) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65738) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65739) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65740) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65741) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65742) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65743) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65744) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65745) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65746) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65747) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65748) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65749) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65750) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65751) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65752) : error 017: undefined symbol "cache_get_field_content"
    /Server\gamemodes\GeTmyselfmade.pwn(65753) : error 017: undefined symbol "cache_get_field_content"

    Bitte um euer hilfe MfG Lui

  • Beitrag von tom_1337 ()

    Dieser Beitrag wurde von seegras gelöscht ().
  • habe neues probelm



    public OnQueryError(errorid,error[],callback[],query[],connectionHandle)
    {
    new string[900];
    format(string,sizeof(string),"errorid=%i,error=%s,query=%s",errorid,error,query);
    Log("mysql",string);
    //if(errorid == 1054) CreateTables();
    return 1;
    }


    \Server\gamemodes\GeTmyselfmade.pwn(66357 -- 66358) : error 076: syntax error in the expression, or invalid function call



    [list=1][*]public LoadAccountBankSafe(playerid)
    [*]{
    [*] new rows,fields,result[30],query[128];
    [*] cache_get_row_count(rows,fields);
    [*] cache_get_field_count(rows,fields);
    [*] if(rows)
    [*] {
    [*] cache_get_value_name(0,"safetresor",result); Spieler[playerid][pBankSafeSafe] = strval(result); strdel(result,0,sizeof(result));
    [*] cache_get_value_name(0,"ganja",result); Spieler[playerid][pBankSafeGanja] = strval(result); strdel(result,0,sizeof(result));
    [*] cache_get_value_name(0,"kokain",result); Spieler[playerid][pBankSafeKokain] = strval(result); strdel(result,0,sizeof(result));
    [*] cache_get_value_name(0,"opium",result); Spieler[playerid][pBankSafeOpium] = strval(result); strdel(result,0,sizeof(result));
    [*] cache_get_value_name(0,"materials",result); Spieler[playerid][pBankSafeMaterials] = strval(result); strdel(result,0,sizeof(result));
    [*] cache_get_value_name(0,"c4",result); Spieler[playerid][pBankSafeC4] = strval(result); strdel(result,0,sizeof(result));
    [*] }
    [*] else
    [*] {
    [*] mysql_format(MySqlConnection,query,sizeof(query),"INSERT INTO "#SERVERTAG"_account_banksafe (Name) VALUES ('%s')",SpielerName(playerid));
    [*] mysql_query_file(MySqlConnection,query,false,"","");
    [*] }
    [*] return 1;
    [*]}
    [/list]



    \Server\gamemodes\GeTmyselfmade.pwn(66219 -- 66239) : error 025: function heading differs from prototype

  • \Server\gamemodes\GeTmyselfmade.pwn(66357 -- 66358) : error 076: syntax error in the expression, or invalid function call

    Auf welche Zeilen bezieht sich das?



    \Server\gamemodes\GeTmyselfmade.pwn(66219 -- 66239) : error 025: function heading differs from prototype

    Das forward zu LoadAccountBankSafe sieht anders aus. Eventuell hast du da einen Parameter vergessen oder zu viel.

  • habe ein kleines problem was ist hier falsch
    GeTmyselfmade.pwn(9600) : error 035: argument type mismatch (argument 3)

    COMMAND:registrierte(playerid,params[])
    {
    #pragma unused params
    if(ImTutorial[playerid] != 0)return SCM(playerid,GRAU,"Du kannst keine Befehle nutzen,da du im Tutorial bist.");
    if(GetPVarInt(playerid,"Eingeloggt") == 0)return SCM(playerid,GRAU,"Du bist nicht eingeloggt!");
    if(Spieler[playerid][pAWAYFROMKEYBOARD] == 1)return SCM(playerid,WRONGCMD,"Du bist im AFK-Modus und kannst somit keine Befehle nutzen."),SCM(playerid,WRONGCMD,"BENUTZE: /back");
    if(!isPlayerAnAdmin(playerid,6))return SCM(playerid,GRAU,"Du bist kein "#SERVERTAG" Teammitglied./Du hast nicht den jeweiligen Adminrang.");
    fehler linie 9600 mysql_pquery(MySqlConnection,"SELECT * FROM accounts",true,"OnQueryFinish","siii","SELECT * FROM accounts",_SQL_REGISTREDACCS_COUNT,playerid,MySqlConnection);
    return 1;
    }




    Hoffe ihr könnt mir da helfen MfG

  • Du hast die Änderung aus Post #14 nicht gemacht.


    mysql_pquery(MySqlConnection,"SELECT * FROM accounts","OnQueryFinish","siii","SELECT * FROM accounts",_SQL_REGISTREDACCS_COUNT,playerid,MySqlConnection);
    zu:
    mysql_pquery(MySqlConnection,"SELECT * FROM accounts","OnQueryFinish","siii","SELECT * FROM accounts",_SQL_REGISTREDACCS_COUNT,playerid, _:MySqlConnection);

  • hat geklapt brauche noch mall deine hilfe hier bei Jeffery


    C:\Users\Jeremias-BenediktPC\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn(65844) : error 017: undefined symbol "cache_get_data"
    C:\Users\Jeremias-BenediktPC\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn(65827) : warning 203: symbol is never used: "fields"



    public LoadAccount(playerid)
    {
    new query[356],result[25],rows,fields;
    if(mysql_errno(MySqlConnection) != 0)
    {
    getdate(tag,monat,jahr);
    gettime(stunde,minute,sekunde);
    ForEachPlayer(i)
    {
    if(IsPlayerConnected(i) && !IsPlayerNPC(i) && GetPVarInt(i,"Eingeloggt") == 1)
    {
    SaveAccount(i);
    }
    }
    Log("Restartssqllog","Admin: System hat den Server gerestartet(Dead MySql Connection)!");
    OnGameModeSave();
    GameModeExit();
    return 1;
    }
    cache_get_data(rows,fields);
    if(rows)
    {
    cache_get_value_name(0,"Tutorial",result); Spieler[playerid][pViewTutorial] = strval(result); strdel(result,0,sizeof(result));
    cache_get_value_name(0,"Admin",result); Spieler[playerid][pAdmin] = strval(result); strdel(result,0,sizeof(result));





    was muss ich bei denen hier ändern MfG

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen