[HILFE] Aus einem kleinem Problem kommt das große Problem...

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 Brotfische! :D


    Ich habe ein kleines Problem, wenn ich compile kommt dieser Error: C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(44) : fatal error 100: cannot read from file: "Desk".
    Zeile 44:
    #include <Desk>
    Woher bekomme ich das include? Habe bei google nichts gefunden. Könnte mir einer helfen?
    Danke im vorraus!


    MfG

    2 Mal editiert, zuletzt von DerCooper ()

  • Das weiß ich selber nicht genau...
    Ich wollte das Script von hier testen: [ GAMEMODE ] NaMe oF LiFe || Reupload || + Control Panel (seit 21.7.13)
    Doch als ich es comilte kann dieser Error.
    Wenn ich die Zeile 44: #include <Desk> lösche, kommen diese Errors:
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\ocmd.inc(36) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(482) : warning 201: redefinition of constant/macro (symbol "GREEN")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(488) : warning 201: redefinition of constant/macro (symbol "RED")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(955) : error 021: symbol already defined: "Blacklist"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16247) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16252) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16257) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16262) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16267) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16272) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16277) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16282) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16287) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16292) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16297) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16302) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16306) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17254) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17254) : error 033: array must be indexed (variable "cmd")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17559) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17559) : error 033: array must be indexed (variable "tmp")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17722) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17722) : error 033: array must be indexed (variable "tmp")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17869) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17869) : error 033: array must be indexed (variable "x_job")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(18077) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(18077) : error 033: array must be indexed (variable "tmp")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(18089) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(18089) : error 033: array must be indexed (variable "tmp")


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.




    Und ein danke an: Andezejxy'! Alle meine Links die ich hatte waren nicht mehr aktuell, sry.

  • Zitat

    error 021: symbol already defined: "Blacklist"


    Kannst du löschen, da es Blacklist schon gibt.


    Zitat

    error 017: undefined symbol "strtok"


    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }

    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }

  • Ja, danke, aber jetzt sind andere gekommen, ich habe sie sicher außerhalb eines publics gemacht.


    Errors:
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\ocmd.inc(36) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(482) : warning 201: redefinition of constant/macro (symbol "GREEN")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(488) : warning 201: redefinition of constant/macro (symbol "RED")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16246) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16251) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16256) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16261) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16266) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16271) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16276) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16281) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16286) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16291) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16296) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16301) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16305) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29276) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29277) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29278) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29279) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29280) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29281) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29282) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29283) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29284) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29310) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29311) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29312) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29313) : error 032: array index out of bounds (variable "Blacklist")


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.

  • strmid(Blacklist[mafid][user10],"Niemand",0,strlen("Niemand"),255);



    if(strcmp(cmd, "/clearblacklist", true) == 0 || strcmp(cmd, "/clearbl", true) == 0)
    {
    new mafid = GetPlayerMafia(playerid);
    if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 6 ||PlayerInfo[playerid][pLeader] == 12|| PlayerInfo[playerid][pLeader] == 13 ||PlayerInfo[playerid][pLeader] == 14|| PlayerInfo[playerid][pLeader] == 15 ||PlayerInfo[playerid][pLeader] == 16|| PlayerInfo[playerid][pLeader] == 17 ||PlayerInfo[playerid][pLeader] == 18||PlayerInfo[playerid][pLeader] == 19||PlayerInfo[playerid][pLeader] == 23)
    {
    strmid(Blacklist[mafid][user10],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user9],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user8],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user7],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user6],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user5],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user4],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user3],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user2],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user1],"Niemand",0,strlen("Niemand"),255);
    SendClientMessage(playerid,COLOR_YELLOW,"Blacklist gecleart");
    }
    }



    Danke Music4You, jetzt sind immernoch paar (naja, 26 errors) da.


    Errors:


    C:\Users\ziegler\Desktop\Samp Server\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\ocmd.inc(36) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16246) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16251) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16256) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16261) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16266) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16271) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16276) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16281) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16286) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16291) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16296) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16301) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16305) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29276) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29277) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29278) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29279) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29280) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29281) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29282) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29283) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29284) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29310) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29311) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29312) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29313) : error 032: array index out of bounds (variable "Blacklist")


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.




    Wegen den mysql_query:



    stock SpielerSpeichern(playerid)
    {
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    if(gPlayerLogged[playerid] == 1)
    {
    new query[2048];

    format(query, sizeof(query), "UPDATE `accounts` SET `Level` = '%d',`AdminLevel` = '%d',`Supporter` = '%d',`DonateRank` = '%d',`UpgradePoints` = '%d',`ConnectedTime` = '%d',`Registered` = '%d',`Sex` = '%d',`Alter` = '%d',`Origin` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pLevel],PlayerInfo[playerid][pAdmin],PlayerInfo[playerid][pSupporter],PlayerInfo[playerid][pVIP],PlayerInfo[playerid][gPupgrade],
    PlayerInfo[playerid][pConnectTime],PlayerInfo[playerid][pReg],PlayerInfo[playerid][pSex],PlayerInfo[playerid][pAge],PlayerInfo[playerid][pOrigin],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `CK` = '%d',`Muted` = '%d',`Respekt` = '%d',`Geld` = '%d',`Bank` = '%d',`Kredit` = '%d',`KreditDauer` = '%d',`Verbrechen` = '%d',`Kills` = '%d',`Deaths` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pCK],PlayerInfo[playerid][pMuted],PlayerInfo[playerid][pExp],GetPlayerMoney(playerid),PlayerInfo[playerid][pAccount],
    PlayerInfo[playerid][pPlayerKredit],PlayerInfo[playerid][pPlayerKreditDauer],PlayerInfo[playerid][pCrimes],PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `WantedDeaths` = '%d',`Telefonbuch` = '%d',`LottoNr` = '%d',`Fische` = '%d',`BiggestFish` = '%d',`Job` = '%d',`PayCheck` = '%d',`Jailed` = '%d',`GangJailed` = '%d',`Mauled` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pWantedDeaths],PlayerInfo[playerid][pPhoneBook],PlayerInfo[playerid][pLottoNr],PlayerInfo[playerid][pFishes],PlayerInfo[playerid][pBiggestFish],
    PlayerInfo[playerid][pJob],PlayerInfo[playerid][pPayCheck],PlayerInfo[playerid][pJailed],PlayerInfo[playerid][pGangJailed],PlayerInfo[playerid][pMauled],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `JailTime` = '%d',`Material` = '%d',`Drogen` = '%d',`BMaterial` = '%d',`BDrogen` = '%d',`Leader` = '%d',`Member` = '%d',`FMember` = '%d',`Rank` = '%d',`Char` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pJailTime],PlayerInfo[playerid][pMats],PlayerInfo[playerid][pDrugs],PlayerInfo[playerid][pBoxMats],PlayerInfo[playerid][pBoxDrugs],
    PlayerInfo[playerid][pLeader],PlayerInfo[playerid][pMember],PlayerInfo[playerid][pFMember],PlayerInfo[playerid][pRank],PlayerInfo[playerid][pChar],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `ContractTime` = '%d',`Contract` = '%d',`DetSkill` = '%d',`LawSkill` = '%d',`PilotSkill` = '%d',`BusSkill` = '%d',`MechSkill` = '%d',`JackSkill` = '%d',`CarSkill` = '%d',`DrugsSkill` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pContractTime],PlayerInfo[playerid][pContract],PlayerInfo[playerid][pDetSkill],PlayerInfo[playerid][pLawSkill],PlayerInfo[playerid][pPilotSkill],
    PlayerInfo[playerid][pBusSkill],PlayerInfo[playerid][pMechSkill],PlayerInfo[playerid][pJackSkill],PlayerInfo[playerid][pCarSkill],PlayerInfo[playerid][pDrugsSkill],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `CookSkill` = '%d',`SHealth` = '%d',`Health` = '%d',`Interior` = '%d',`Local` = '%d',`Team` = '%d',`Model` = '%d',`pPNumber` = '%d',`House` = '%d',`Bizz` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pCookSkill],PlayerInfo[playerid][pSHealth],PlayerInfo[playerid][pHealth],PlayerInfo[playerid][pInt],PlayerInfo[playerid][pLocal],
    PlayerInfo[playerid][pTeam],PlayerInfo[playerid][pModel],PlayerInfo[playerid][pPnumber],PlayerInfo[playerid][pPhousekey],PlayerInfo[playerid][pPbiskey],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `HandyGeld` = '%d',`HandyVer` = '%d',`pPos_x` = '%d',`pPos_y` = '%d',`pPos_z` = '%d',`CarLic` = '%d',`NewLic` = '%d',`FlyLic` = '%d',`BoatLic` = '%d',`FishLic` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pHandyGeld],PlayerInfo[playerid][pHandyVer],PlayerInfo[playerid][pPos_x],PlayerInfo[playerid][pPos_y],PlayerInfo[playerid][pPos_z],
    PlayerInfo[playerid][pCarLic],PlayerInfo[playerid][pNewLic],PlayerInfo[playerid][pFlyLic],PlayerInfo[playerid][pBoatLic],PlayerInfo[playerid][pFishLic],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `GunLic` = '%d',`LKWLic` = '%d',`RollerLic` = '%d',`MotoLic` = '%d',`Zig` = '%d',`Kekse` = '%d',`ZigSucht` = '%d',`CarTime` = '%d',`MullTime` = '%d',`PayDay` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pGunLic],PlayerInfo[playerid][pLKWLic],PlayerInfo[playerid][pRollerLic],PlayerInfo[playerid][pMotoLic],PlayerInfo[playerid][pZig],
    PlayerInfo[playerid][pKekse],PlayerInfo[playerid][pZigSucht],PlayerInfo[playerid][pCarTime],PlayerInfo[playerid][pMulltime],PlayerInfo[playerid][pPayDay],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `PayDayHad` = '%d',`CDPlayer` = '%d',`Wins` = '%d',`Loses` = '%d',`AlcoholPerk` = '%d',`DrugPerk` = '%d',`MiserPerk` = '%d',`PainPerk` = '%d',`TraderPerk` = '%d',`Tutorial` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pPayDayHad],PlayerInfo[playerid][pCDPlayer],PlayerInfo[playerid][pWins],PlayerInfo[playerid][pLoses],PlayerInfo[playerid][pAlcoholPerk],
    PlayerInfo[playerid][pDrugPerk],PlayerInfo[playerid][pPainPerk],PlayerInfo[playerid][pMiserPerk],PlayerInfo[playerid][pTraderPerk],PlayerInfo[playerid][pTut],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `Warns` = '%d',`Adjustable` = '%d',`Fuel` = '%d',`Married` = '%d',`MarriedTo` = '%d',`SpawnChange` = '%d',`WantedLevel` = '%d',`WantedPoints` = '%d',`PlayMinutes` = '%d',`GesamtMinutes` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pWarns],PlayerInfo[playerid][pAdjustable],PlayerInfo[playerid][pFuel],PlayerInfo[playerid][pMarried],PlayerInfo[playerid][pMarriedTo],
    SpawnChange[playerid],WantedLevel[playerid],WantedPoints[playerid],PlayerInfo[playerid][pPlayMinutes],PlayerInfo[playerid][pGesamtMinutes],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `MinutesSinceAn` = '%d',`SFPass` = '%d',`LVPASS`= '%d',`OffFlucht` = '%d',`Knast` = '%d',`KnastTime`= '%d',`Handy` = '%d',`Uhr` = '%d',`Perso` = '%d',`FrakSperre` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pMinutesSinceAn],PlayerInfo[playerid][pSFPASS],PlayerInfo[playerid][pLVPASS],OfflineFlucht[playerid],Knast[playerid],
    KnastTime[playerid],PlayerInfo[playerid][pHandyID],PlayerInfo[playerid][pUhrID],PlayerInfo[playerid][pOwnPerso],PlayerInfo[playerid][pFrakSperre],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `Gehalt` = '%d',`InvWeapon` = '%d',`InvAmmo` = '%d',`InvWeapon2` = '%d',`InvAmmo2` = '%d',`InvMats` = '%d',`InvDrugs` = '%d',`gDeaths` = '%d',`gKills` = '%d',`Meldung` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pGehalt],PlayerInfo[playerid][pInvWeapon],PlayerInfo[playerid][pInvAmmo],PlayerInfo[playerid][pInvWeapon2],PlayerInfo[playerid][pInvAmmo2],
    PlayerInfo[playerid][pInvMats],PlayerInfo[playerid][pInvDrugs],PlayerInfo[playerid][pGDeaths],PlayerInfo[playerid][pGKills],PlayerInfo[playerid][pMeldung],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `Tanke` = '%d',`Zollpass` = '%d',`Zollpasstime` = '%d',`Banned` = '%d',`Paket` = '%d',`LPunkte` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pGehalt],PlayerInfo[playerid][pPtankekey],PlayerInfo[playerid][pZollPass],PlayerInfo[playerid][pZollPassTime],PlayerInfo[playerid][pGesperrt],PlayerInfo[playerid][pPaket],PlayerInfo[playerid][pLPunkte],PlayerInfo[playerid][pName]);
    mysql_query(query);

    printf("Spielerdaten vom Spieler %s erfolgreich in der Datenbank gespeichert.",SpielerName(playerid));
    }
    }
    return 1;
    }

    2 Mal editiert, zuletzt von DerCooper ()