MYSQL Speicherung fehlgeschlagen

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.
    Er speichert nichts in der DB.



    stock SpielerSpeichern(playerid)
    {
    if(GetPVarInt(playerid,"loggedin")==1)
    {
    new query[3072];
    format(query, sizeof(query), "UPDATE users SET Alter='%i',Personalausweis='%i',Spawnchange='%i',Geld='%i',Admin='%i',Skin='%i',Hunger='%i',Toilette='%i',Fraktionsrang='%i',Leader='%i',Member='%i',Arbeit='%i',Navigation='%i',Premium='%i',Handynummer='%i',Fraktion='%i',Registration='%i',BankKonto='%i',BankGeld='%i',BankRauben='%i',Level='%i',Respektpunkte='%i',MinutesSinceAn='%i',PlayMinutes='%i',Warnungen='%i',Points='%i',Gesamtspielzeit='%i',Tode='%i' WHERE id='%i'",
    pInfo[playerid][pAlter],pInfo[playerid][pPerso],pInfo[playerid],GetPlayerMoney(playerid),pInfo[playerid][pAdmin],pInfo[playerid][pSkin],pInfo[playerid][pHunger],pInfo[playerid][pHarndrang],pInfo[playerid][pRank],pInfo[playerid][pLeader],pInfo[playerid][pMember],pInfo[playerid][pJob],pInfo[playerid][pNavi],pInfo[playerid][pPremium],
    pInfo[playerid][pHandynummer],pInfo[playerid][pFaction],pInfo[playerid][pReg],pInfo[playerid][pBankKonto],pInfo[playerid][pBankGeld],pInfo[playerid][pBankRauben],pInfo[playerid][pLevel],pInfo[playerid][pExp],pInfo[playerid][pMinutesSinceAn],pInfo[playerid][pPlayMinutes],pInfo[playerid][pWarn],pInfo[playerid][pLoGPoints],pInfo[playerid][pGesamtspielzeit],
    pInfo[playerid][pTode],pInfo[playerid][pGameIntro],pInfo[playerid][pDB]);
    mysql_function_query(dbhandle, query, false, "", "");
    format(query, sizeof(query), "UPDATE users SET Wantedpunkte='%i',carlicense='%i',carlicensepoints='%i',bikelicense='%i',bikelicensepoints='%i',trucklicense='%i',trucklicensepoints='%i',planelicense='%i',planelicensepoints='%i',helilicense='%i',helilicensepoints='%i',bootlicense='%i',bootlicensepoints='%i',jailstate='%i',jailtimemin='%i',jailtimesek='%i',Hotel='%i',CarRepairPacks='%i',HandyGeld='%i',HandyVer='%i',Handymodel='%i',PhoneBook='%i' WHERE id='%i'",
    pInfo[playerid][pWantedpunkte],pInfo[playerid][pcarlicense],pInfo[playerid][pcarlicensepoints],pInfo[playerid][pbikelicense],pInfo[playerid][pbikelicensepoints],pInfo[playerid][ptrucklicense],pInfo[playerid][ptrucklicensepoints],pInfo[playerid][pplanelicense],pInfo[playerid][pplanelicensepoints],pInfo[playerid][phelilicense],pInfo[playerid][phelilicensepoints],pInfo[playerid][pbootlicense],
    pInfo[playerid][pbootlicensepoints],pInfo[playerid][pjailstate],pInfo[playerid][pjailtimemin],pInfo[playerid][pjailtimesek],pInfo[playerid][pHotel],pInfo[playerid][pCarRepairPacks],pInfo[playerid][pHandyGeld],pInfo[playerid][pHandyVer],pInfo[playerid][pHandyID],pInfo[playerid][pHandyID],pInfo[playerid][pDB]);
    mysql_function_query(dbhandle, query, false, "", "");
    }
    return 1;
    }


    Die Mysql_log wird erstellt sobald ich auf den Server gehe und dort steht drinne:



    [08:41:18] [WARNING] CMySQLResult::GetRowDataByName - field not found ("Tutorial")
    [08:41:18] [ERROR] cache_get_field_content_int - invalid datatype
    [08:41:18] [WARNING] CMySQLResult::GetRowDataByName - field not found ("Rangname")
    [08:41:18] [ERROR] cache_get_field_content_int - invalid datatype
    [08:41:18] [WARNING] CMySQLResult::GetRowDataByName - field not found ("PhoneBook")
    [08:41:18] [ERROR] cache_get_field_content_int - invalid datatype
    [08:41:25] [WARNING] cache_get_data - no active cache


    Jeffry:

  • Zum Speichern:
    ALTER ist ein MySQL Befehl, daher wird das nicht erkannt.
    format(query, sizeof(query), "UPDATE users SET Alter='%i',Personalausweis='%i',Spawnchange='%i',Geld='%i',Admin='%i',Skin='%i',Hunger='%i',Toilette='%i',Fraktionsrang='%i',Leader='%i',Member='%i',Arbeit='%i',Navigation='%i',Premium='%i',Handynummer='%i',Fraktion='%i',Registration='%i',BankKonto='%i',BankGeld='%i',BankRauben='%i',Level='%i',Respektpunkte='%i',MinutesSinceAn='%i',PlayMinutes='%i',Warnungen='%i',Points='%i',Gesamtspielzeit='%i',Tode='%i' WHERE id='%i'",
    zu:
    format(query, sizeof(query), "UPDATE users SET `Alter`='%i',Personalausweis='%i',Spawnchange='%i',Geld='%i',Admin='%i',Skin='%i',Hunger='%i',Toilette='%i',Fraktionsrang='%i',Leader='%i',Member='%i',Arbeit='%i',Navigation='%i',Premium='%i',Handynummer='%i',Fraktion='%i',Registration='%i',BankKonto='%i',BankGeld='%i',BankRauben='%i',Level='%i',Respektpunkte='%i',MinutesSinceAn='%i',PlayMinutes='%i',Warnungen='%i',Points='%i',Gesamtspielzeit='%i',Tode='%i' WHERE id='%i'",
    Dann sollte das klappen.


    Zu den Meldungen:
    [08:41:18] [WARNING] CMySQLResult::GetRowDataByName - field not found ("Tutorial")
    [08:41:18] [WARNING] CMySQLResult::GetRowDataByName - field not found ("Rangname")
    [08:41:18] [WARNING] CMySQLResult::GetRowDataByName - field not found ("PhoneBook")
    Diese Felder existieren in deiner Tabelle nicht, lege sie an.


    [08:41:18] [ERROR] cache_get_field_content_int - invalid datatype
    Hier versuchst du einen falschen Datentyp auszulesen (zum Beispiel VARCHAR/FLOAT/... in der Datenbank und zu nutzt cache_get_field_content_int (für INT)).
    Das kann aber auch durch die nicht existierenden Felder ausgelöst werden.


    [08:41:25] [WARNING] cache_get_data - no active cache
    Hier versuchst du einen cache auszulesen, obwohl du keinen cache gespeichert hast.



  • Wird immer noch nicht gespeichert. Das Level z.b bleibt auf 1 obwohl ich es ingame auf 3 sette.

  • Dann debugge es bitte so:
    stock SpielerSpeichern(playerid)
    {
    printf("SpielerSpeichern (%d)", playerid);
    if(GetPVarInt(playerid,"loggedin")==1)
    {
    new query[3072];
    format(query, sizeof(query), "UPDATE users SET `Alter`='%i',Personalausweis='%i',Spawnchange='%i',Geld='%i',Admin='%i',Skin='%i',Hunger='%i',Toilette='%i',Fraktionsrang='%i',Leader='%i',Member='%i',Arbeit='%i',Navigation='%i',Premium='%i',Handynummer='%i',Fraktion='%i',Registration='%i',BankKonto='%i',BankGeld='%i',BankRauben='%i',Level='%i',Respektpunkte='%i',MinutesSinceAn='%i',PlayMinutes='%i',Warnungen='%i',Points='%i',Gesamtspielzeit='%i',Tode='%i' WHERE id='%i'",
    pInfo[playerid][pAlter],pInfo[playerid][pPerso],pInfo[playerid],GetPlayerMoney(playerid),pInfo[playerid][pAdmin],pInfo[playerid][pSkin],pInfo[playerid][pHunger],pInfo[playerid][pHarndrang],pInfo[playerid][pRank],pInfo[playerid][pLeader],pInfo[playerid][pMember],pInfo[playerid][pJob],pInfo[playerid][pNavi],pInfo[playerid][pPremium],
    pInfo[playerid][pHandynummer],pInfo[playerid][pFaction],pInfo[playerid][pReg],pInfo[playerid][pBankKonto],pInfo[playerid][pBankGeld],pInfo[playerid][pBankRauben],pInfo[playerid][pLevel],pInfo[playerid][pExp],pInfo[playerid][pMinutesSinceAn],pInfo[playerid][pPlayMinutes],pInfo[playerid][pWarn],pInfo[playerid][pLoGPoints],pInfo[playerid][pGesamtspielzeit],
    pInfo[playerid][pTode],pInfo[playerid][pGameIntro],pInfo[playerid][pDB]);
    printf("SpielerSpeichern: %s", query);
    mysql_function_query(dbhandle, query, false, "", "");
    format(query, sizeof(query), "UPDATE users SET Wantedpunkte='%i',carlicense='%i',carlicensepoints='%i',bikelicense='%i',bikelicensepoints='%i',trucklicense='%i',trucklicensepoints='%i',planelicense='%i',planelicensepoints='%i',helilicense='%i',helilicensepoints='%i',bootlicense='%i',bootlicensepoints='%i',jailstate='%i',jailtimemin='%i',jailtimesek='%i',Hotel='%i',CarRepairPacks='%i',HandyGeld='%i',HandyVer='%i',Handymodel='%i',PhoneBook='%i' WHERE id='%i'",
    pInfo[playerid][pWantedpunkte],pInfo[playerid][pcarlicense],pInfo[playerid][pcarlicensepoints],pInfo[playerid][pbikelicense],pInfo[playerid][pbikelicensepoints],pInfo[playerid][ptrucklicense],pInfo[playerid][ptrucklicensepoints],pInfo[playerid][pplanelicense],pInfo[playerid][pplanelicensepoints],pInfo[playerid][phelilicense],pInfo[playerid][phelilicensepoints],pInfo[playerid][pbootlicense],
    pInfo[playerid][pbootlicensepoints],pInfo[playerid][pjailstate],pInfo[playerid][pjailtimemin],pInfo[playerid][pjailtimesek],pInfo[playerid][pHotel],pInfo[playerid][pCarRepairPacks],pInfo[playerid][pHandyGeld],pInfo[playerid][pHandyVer],pInfo[playerid][pHandyID],pInfo[playerid][pHandyID],pInfo[playerid][pDB]);
    printf("SpielerSpeichern: %s", query);
    mysql_function_query(dbhandle, query, false, "", "");
    }
    return 1;
    }



  • Serverlog:


  • Das Problem ist, dass du
    GetPVarInt(playerid,"loggedin")
    vor dem Aufruf von SpielerSpeichern auf 0 setzt, bzw. löschst.


    Daher kommt der durch die Abfrage, ob der Spieler eingeloggt ist, nicht durch, somit wird auch das Query nicht ausgeführt.
    Das erklärt auch, warum kein Syntax Error geloggt wurde, weil das Query gar nie abgesendet wurde.



    PS: Lasse bitte diese Vollzitate.


  • public OnPlayerDisconnect(playerid, reason)
    {
    if(PlayerPaintballing[playerid] != 0)
    {
    PaintballPlayers --;
    }
    if(bagmoney[playerid]!=0)
    {
    DestroyDynamicObject(bagobjects[playerid]);
    DestroyDynamic3DTextLabel(bagtext[playerid]);
    bagmoney[playerid]=0,bagpos[playerid][0]=0.0,bagpos[playerid][1]=0.0,bagpos[playerid][2]=0.0;
    }
    if(pInfo[playerid][pDeath] == 1)
    {
    new string[500];
    format(string,sizeof(string),"{FF8C00}Server:{FEFEFE} %s Hat Krankenhaus Flucht begangen Er wird mit 10 Checkpoints bestraft",spielername(pID));
    SendClientMessageToAll(ROT,string);

    pInfo[pID][pPrisonCPsgegeben] = 10;
    pInfo[pID][pPrisonCPsgelaufen] = 10;
    pInfo[pID][pInPrison] = 1;
    }


    PlayerTextDrawHide(playerid,PRISONdraw[playerid]);


    new sendername[MAX_PLAYER_NAME], string[250];
    GetPlayerName(playerid,sendername,sizeof(sendername));

    format(string,sizeof(string),"%s war nun %d Minuten online! (ID: %d)",sendername,pInfo[playerid][pMinutesSinceLogin],playerid);
    Log("Online.txt",string);


    if(GetPVarInt(playerid, "DJPult") == 1)
    {
    TextDrawHideForPlayer(playerid, DJDrawBoxInfo);
    TextDrawHideForPlayer(playerid, DJDrawBoxInfo2);
    Delete3DTextLabel(DJLabel[playerid]);
    DJLabel[playerid] = INVALID_3D_TEXT;
    DestroyDynamicObject(Mischpult[playerid]);
    DestroyDynamicObject(Tisch[playerid]);
    TogglePlayerControllable(playerid, true);
    DeletePVar(playerid, "DJPult");
    DeletePVar(playerid, "DJMusik");
    KillTimer(DJTimer[playerid]);
    UnSetDJStatus(playerid);
    for(new p = 0; p < MAX_PLAYERS; p++)
    {
    if(pInfo[p][pGameIntro] == 0 && !IsPlayerNPC(p) && p != INVALID_PLAYER_ID && IsPlayerConnected(p))
    {
    if(GetPVarInt(p, "DJMusik") == playerid)
    {
    StopAudioStreamForPlayer(p);
    SetPVarInt(p,"DJMusik",0);
    }
    }
    }
    }
    if(ReportCall[playerid] != 999)
    {
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "{00FFF0}[SUPPORT-SYSTEM] {FEFEFE}%s Hat den Server verlassen! /support geschlossen", sendername);
    SendClientMessage(playerid, ROT,string);
    ReportCall[playerid] = 999;
    }
    if(pInfo[playerid][pJob] == 1)
    {
    if(JobStarted[playerid] == 1)
    {
    for(new i = 0; i < MAX_FARMPFLANZEN; i++)
    {
    if(FarmInfo[i][farmObjektDestroy] == 0)
    {
    DestroyDynamicObject(farmObjekt[i][playerid]);
    }
    }
    }
    }
    if(PlayerTied[playerid] == 1)
    {
    PlayerTied[playerid] = 0;
    }
    DestroyDynamicObject(TotenKopf[playerid]);
    KillTimer(deadt[playerid]);
    SpielerSpeichern(playerid);
    RemovePlayer(playerid);

    new dateiname[MAX_PLAYER_NAME+4];
    new playername[MAX_PLAYER_NAME];
    new var[256];
    new Float:h, vehicleid = GetPlayerVehicleID(playerid);
    GetVehicleHealth(vehicleid,h);

    GetPlayerName(playerid, playername, sizeof(playername));
    format(dateiname, sizeof(dateiname), "%s.car", playername);
    new File: CarFile = fopen(dateiname, io_write);
    format(var, 256, "AH_Typ=%i\n", Carlist[playerid][Typ]); fwrite(CarFile, var);
    format(var, 256, "AH_X=%f\n", Carlist[playerid][XX]); fwrite(CarFile, var);
    format(var, 256, "AH_Y=%f\n", Carlist[playerid][YY]); fwrite(CarFile, var);
    format(var, 256, "AH_Z=%f\n", Carlist[playerid][ZZ]); fwrite(CarFile, var);
    format(var, 256, "AH_Rot=%f\n", Carlist[playerid][Rotation]); fwrite(CarFile, var);
    format(var, 256, "AH_Status=%i\n", Carlist[playerid][Status]); fwrite(CarFile, var);
    format(var, 256, "AH_Lock=%i\n", Carlist[playerid][Lock]); fwrite(CarFile, var);
    format(var, 256, "AH_Paintjob=%i\n", Carlist[playerid][Paintjob]); fwrite(CarFile, var);
    format(var, 256, "AH_Farbe1=%i\n", Carlist[playerid][Farbe1]); fwrite(CarFile, var);
    format(var, 256, "AH_Farbe2=%i\n", Carlist[playerid][Farbe2]); fwrite(CarFile, var);
    format(var, 256, "AH_mod1=%i\n", Carlist[playerid][mod1]); fwrite(CarFile, var);
    format(var, 256, "AH_mod2=%i\n", Carlist[playerid][mod2]); fwrite(CarFile, var);
    format(var, 256, "AH_mod3=%i\n", Carlist[playerid][mod3]); fwrite(CarFile, var);
    format(var, 256, "AH_mod4=%i\n", Carlist[playerid][mod4]); fwrite(CarFile, var);
    format(var, 256, "AH_mod5=%i\n", Carlist[playerid][mod5]); fwrite(CarFile, var);
    format(var, 256, "AH_mod6=%i\n", Carlist[playerid][mod6]); fwrite(CarFile, var);
    format(var, 256, "AH_mod7=%i\n", Carlist[playerid][mod7]); fwrite(CarFile, var);
    format(var, 256, "AH_mod8=%i\n", Carlist[playerid][mod8]); fwrite(CarFile, var);
    format(var, 256, "AH_mod9=%i\n", Carlist[playerid][mod9]); fwrite(CarFile, var);
    format(var, 256, "AH_mod10=%i\n", Carlist[playerid][mod10]); fwrite(CarFile, var);
    format(var, 256, "AH_mod11=%i\n", Carlist[playerid][mod11]); fwrite(CarFile, var);
    format(var, 256, "AH_mod12=%i\n", Carlist[playerid][mod12]); fwrite(CarFile, var);
    format(var, 256, "AH_mod13=%i\n", Carlist[playerid][mod13]); fwrite(CarFile, var);
    format(var, 256, "AH_mod14=%i\n", Carlist[playerid][mod14]); fwrite(CarFile, var);
    format(var, 256, "AH_mod15=%i\n", Carlist[playerid][mod15]); fwrite(CarFile, var);
    format(var, 256, "AH_mod16=%i\n", Carlist[playerid][mod16]); fwrite(CarFile, var);
    format(var, 256, "AH_mod17=%i\n", Carlist[playerid][mod17]); fwrite(CarFile, var);
    format(var, 256, "CarHealth=%f\n", h); fwrite(CarFile, var);

    fclose(CarFile);
    if(Carlist[playerid][Carid]!=-1)
    {
    SetVehicleParamsForAll(Carlist[playerid][Carid],0,0);
    DestroyVehicle(Carlist[playerid][Carid]);
    Carlist[playerid][Carid]=-1;
    }
    if (Spectating[playerid][0]!=-1)
    {
    SetVehicleParamsForAll(Kaufliste[Spectating[playerid][0]][Carid],0,0);
    Spectating[playerid][0]=-1;
    }
    if(TransportDuty[playerid] == 1)
    {
    TaxiDrivers -= 1;
    }
    if(TransportCost[playerid] > 0 && TransportDriver[playerid] < 999)
    {
    if(IsPlayerConnected(TransportDriver[playerid]))
    {
    TransportMoney[TransportDriver[playerid]] += TransportCost[playerid];
    TransportTime[TransportDriver[playerid]] = 0;
    TransportCost[TransportDriver[playerid]] = 0;
    format(string, sizeof(string), "~w~Kunde ist ausgestiegen~n~~g~Verdienst: $%d",TransportCost[playerid]);
    GameTextForPlayer(TransportDriver[playerid], string, 5000, 1);
    }
    }
    DeletePVar(playerid,"Spawned");
    if(IsAFightFaction(GetPlayerFaction(playerid))){
    new TempZone = GetPlayerFightzone(playerid);
    if(TempZone != -255){
    if(FightSystem[TempZone][fsAttackFaction] != -255 && FightSystem[TempZone][fsFightTime]){
    if(FightSystem[TempZone][fsCtfOfOwner][0] == playerid){
    new fsName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,fsName,MAX_PLAYER_NAME);
    new fsText[128];
    format(fsText,sizeof(fsText),">>> Gangfight <<< | %s hat die Flagge fallen gelassen!",fsName);
    for(new i;i<GetMaxPlayers();i++){
    if(IsPlayerConnected(i)){
    if(GetPlayerFaction(i) == FightSystem[TempZone][fsOwnerFaction] || GetPlayerFaction(i) == FightSystem[TempZone][fsAttackFaction]){
    PlayerPlaySound(i,1058,0.0,0.0,0.0);
    SendClientMessage(i,FS_COL_YELLOW,fsText);
    }
    }
    }
    DestroyObject(FightSystem[TempZone][fsFlagOfOwner]);
    FightSystem[TempZone][fsFlagOfOwner] = CreateObject(2993,FightSystem[TempZone][fsCtfOfOwnerx],FightSystem[TempZone][fsCtfOfOwnery],(FightSystem[TempZone][fsCtfOfOwnerz]-1.0),0.0,0.0,0.0,150.0);
    FightSystem[TempZone][fsCtfOfOwner][0] = -255;
    FightSystem[TempZone][fsCtfOfOwner][1] = 0;
    }
    else if(FightSystem[TempZone][fsCtfOfAttack][0] == playerid){
    new fsName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,fsName,MAX_PLAYER_NAME);
    new fsText[128];
    format(fsText,sizeof(fsText),">>> Gangfight <<< | %s hat die Flagge fallen gelassen!",fsName);
    for(new i;i<GetMaxPlayers();i++){
    if(IsPlayerConnected(i)){
    if(GetPlayerFaction(i) == FightSystem[TempZone][fsOwnerFaction] || GetPlayerFaction(i) == FightSystem[TempZone][fsAttackFaction]){
    PlayerPlaySound(i,1058,0.0,0.0,0.0);
    SendClientMessage(i,FS_COL_YELLOW,fsText);
    }
    }
    }
    DestroyObject(FightSystem[TempZone][fsFlagOfAttack]);
    FightSystem[TempZone][fsFlagOfAttack] = CreateObject(2993,FightSystem[TempZone][fsCtfOfAttackx],FightSystem[TempZone][fsCtfOfAttacky],(FightSystem[TempZone][fsCtfOfAttackz]-1.0),0.0,0.0,0.0,150.0);
    FightSystem[TempZone][fsCtfOfAttack][0] = -255;
    FightSystem[TempZone][fsCtfOfAttack][1] = 0;
    }
    new PlayerFaction = GetPlayerFaction(playerid);
    if(FightSystem[TempZone][fsOwnerFaction] == PlayerFaction)//Punkt für Attack!
    {
    }
    else if(FightSystem[TempZone][fsAttackFaction] == PlayerFaction)//Punkt für Owner!
    {
    }
    }
    }
    }
    return 1;
    }

  • Ok, das passt. Dann liegt es daran, dass du GetPVarInt(playerid,"loggedin") beim Login nicht auf 1 setzt.
    Füge beim Laden der Stats, also beim Login/Register, das hier ein:
    SetPVarInt(playerid,"loggedin",1);


    Alternativ kannst du auch auf die PVar verzichten und ein Array (wie bei PlayerTied) verwenden.

  • Habs unter OnPasswordResponse reingemacht also wenn er sich eingeloggt hat.



    Wird aber immer noch nix gespeichert.
    Serverlog:



    Jeffry:

  • Ok, versuche es so:
    format(query, sizeof(query), "UPDATE users SET `Alter`='%i',Personalausweis='%i',Spawnchange='%i',Geld='%i',Admin='%i',Skin='%i',Hunger='%i',Toilette='%i',Fraktionsrang='%i',Leader='%i',Member='%i',Arbeit='%i',Navigation='%i',Premium='%i',Handynummer='%i',Fraktion='%i',Registration='%i',BankKonto='%i',BankGeld='%i',BankRauben='%i',Level='%i',Respektpunkte='%i',MinutesSinceAn='%i',PlayMinutes='%i',Warnungen='%i',Points='%i',Gesamtspielzeit='%i',Tode='%i' WHERE id='%i'",
    pInfo[playerid][pAlter],pInfo[playerid][pPerso],pInfo[playerid][pSpawnchange],GetPlayerMoney(playerid),pInfo[playerid][pAdmin],pInfo[playerid][pSkin],pInfo[playerid][pHunger],pInfo[playerid][pHarndrang],pInfo[playerid][pRank],pInfo[playerid][pLeader],pInfo[playerid][pMember],pInfo[playerid][pJob],pInfo[playerid][pNavi],pInfo[playerid][pPremium],
    pInfo[playerid][pHandynummer],pInfo[playerid][pFaction],pInfo[playerid][pReg],pInfo[playerid][pBankKonto],pInfo[playerid][pBankGeld],pInfo[playerid][pBankRauben],pInfo[playerid][pLevel],pInfo[playerid][pExp],pInfo[playerid][pMinutesSinceAn],pInfo[playerid][pPlayMinutes],pInfo[playerid][pWarn],pInfo[playerid][pLoGPoints],pInfo[playerid][pGesamtspielzeit],
    pInfo[playerid][pTode],pInfo[playerid][pDB]);
    Du hattest [pSpawnchange] vergessen (gegebenfalls umbenennen, wie es bei dir heißt) und du hattest einen Parameter am Ende zu viel.