help Commands out of sync; you can't run this command now
#1

hello guys i got this error on mysql GM ,
Quote:

errorid: 2014 | error: Commands out of sync; you can't run this command now

Quote:

query: UPDATE playeraccounts SET playerBanned = '0', playerSeconds = '2682', playerGiftTime = '0', playerSkin = '125', playerMoney = '994', playerBankMoney = '0', playerInterior = '6', playerVirtualWorld = '0', playerHealth = '62.000000', playerArmour = '100.000000', playerPosX = '308.091766', playerPosY = '-161.846237', playerPosZ = '999.593750', playerAccent = 'Indonesian', playerAdminLevel = '0', playerJob = '2', playerWeapon0 = '0', playerWeapon1 = '9', playerWeapon2 = '24', playerWeapon3 = '27', playerWeapon4 = '0', playerWeapon5 = '0', playerWeapon6 = '0', playerWeapon7 = '0', playerWeapon8 = '0', playerWeapon9 = '0', playerWeapon10 = '0', playerWeapon11 = '0', playerWeapon12 = '0', playerJobSkill1 = '0', playerJobSkill2 = '0', playerMaterials = '100', playerHours = '19', playerLevel = '4', playerWarning1 = '(null)', playerWarning2 = '(null)', playerWarning3 = 'null', playerHospitalized = '0', playerFirstLogin = '0', playerAdminName = '(null)', playerHelperName = '(null)',playerPrisonTime = '0', playerPrisonID = '0', playerPhoneNumber = '70949851', playerCarPaintJob = '-1|-1|-1|-1|-1', playerCarLock = '1|1|0|0|0', playerStatus = '0', playerGender = '1', playerFightStyle = '6', playerModel1 = '18639', playerModel2 = '371', playerModel3 = '18912', playerBone1 = '2', playerBone2 = '1', playerBone3 = '2', playerToys1PosX = '0.155000', playerToys1PosY = '0.008000', playerToys1PosZ = '0.000000', playerToys1RotX = '0.000000', playerToys1RotY = '0.000000', playerToys1RotZ = '0.000000', playerToys1ScaleX = '1.000000', playerToys1ScaleY = '1.000000', playerToys1ScaleZ = '1.000000', playerToys2PosX = '0.111997', playerToys2PosY = '-0.142994', playerToys2PosZ = '-0.010998', playerToys2RotX = '0.000000', playerToys2RotY = '87.100006', playerToys2RotZ = '0.000000', playerToys2ScaleX = '1.000000', playerToys2ScaleY = '0.631999', playerToys2ScaleZ = '0.905999', playerToys3PosX = '0.100000', playerToys3PosY = '0.014000', playerToys3PosZ = '0.000000', playerToys3RotX = '90.000000', playerToys3RotY = '180.000000', playerToys3RotZ = '90.000000', playerToys3ScaleX = '1.000000', playerToys3ScaleY = '1.000000', playerToys3ScaleZ = '1.000000', playerCarWeapon1 = '31|0|0|0|0', playerCarWeapon2 = '34|0|0|0|0', playerCarWeapon3 = '29|0|0|0|0', playerCarWeapon4 = '0|0|0|0|0', playerCarWeapon5 = '0|0|0|0|0', playerCar1LicensePlate = 'LS 5356 GG',playerCar2LicensePlate = '{FF0000}NO PLATE',playerCar3LicensePlate = '{FF0000}NO PLATE',playerCar4LicensePlate = '{FF0000}NO PLATE',playerCar5LicensePlate = '{FF0000}NO PLATE', playerCarModel = '422|481|0|0|0', playerCarNeons = '0|0|0|0|0', playerCarColour1 = '0|0|0|0|0', playerCarColour2 = '0|0|0|0|0', playerCar1PosX = '552.888244', playerCar1PosY = '-1511.024169', playerCar1PosZ = '14.525644', playerCar1PosZAngle = '270.126708', playerCar2PosX = '554.907287', playerCar2PosY = '-1514.051879', playerCar2PosZ = '14.064796', playerCar2PosZAngle = '107.321990',playerCar3PosX = '0.000000', playerCar3PosY = '0.000000', playerCar3PosZ = '0.000000', playerCar3PosZAngle = '0.000000',playerCar4PosX = '0.000000', playerCar4PosY = '0.000000', playerCar4PosZ = '0.000000', playerCar4PosZAngle = '0.000000',playerCar5PosX = '0.000000', playerCar5PosY = '0.000000', playerCar5PosZ = '0.000000', playerCar5PosZAngle = '0.000000', playerCar2PosX = '554.907287', playerCar2PosY = '-1514.051879', playerCar2PosZ = '14.064796', playerCar2PosZAngle = '107.321990',playerCar3PosX = '0.000000', playerCar3PosY = '0.000000', playerCar3PosZ = '0.000000', playerCar3PosZAngle = '0.000000', playerCar1Mod = '0|0|0|0|0|0|0|1080|0|0|0|0|0|0', playerCar2Mod = '0|0|0|0|0|0|0|0|0|0|0|0|0|0', playerCar3Mod = '0|0|0|0|0|0|0|0|0|0|0|0|0|0', playerPhoneBook = '1', playerGroup = '0', playerGroupRank = '0', playerIP = '122.144.6.92', playerDropCarTimeout = '0', playerRope = '0', playerAdminDuty = '0', playerCrimes = '8', playerArrests = '1', playerWarrants = '3', playerAge = '1998' WHERE playerID = '2428'

pawn Код:
stock savePlayerData(playerid)
{
    if(playerVariables[playerid][pStatus] >= 1 || playerVariables[playerid][pStatus] == -1) {
        new
            saveQuery[10000];

        if(playerVariables[playerid][pStatus] == -1) playerVariables[playerid][pStatus] = 0;
        for(new i=0; i<MAX_PLAYER_VEHICLE; i++)
        {
            if(playerVariables[playerid][pCarModel][i] >= 1 && doesVehicleExist(playerVariables[playerid][pCarID][i]))
            {
                GetVehiclePos(playerVariables[playerid][pCarID][i], playerVariables[playerid][pCarPosX][i], playerVariables[playerid][pCarPosY][i], playerVariables[playerid][pCarPosZ][i]);
                GetVehicleZAngle(playerVariables[playerid][pCarID][i], playerVariables[playerid][pCarPosZAngle][i]);
                playerVariables[playerid][pCarFuel][i] = VehicleFuel[playerVariables[playerid][pCarID][i]];
            //  playerVariables[playerid][pCarPaintJob][i] = colors[0];
                for(new c = 0; c < 14; c++)
                {
                    playerVariables[playerid][pCarMods1][c] = GetVehicleComponentInSlot(playerVariables[playerid][pCarID][0], c);
                    playerVariables[playerid][pCarMods2][c] = GetVehicleComponentInSlot(playerVariables[playerid][pCarID][1], c);
                    playerVariables[playerid][pCarMods3][c] = GetVehicleComponentInSlot(playerVariables[playerid][pCarID][2], c);
                    playerVariables[playerid][pCarMods4][c] = GetVehicleComponentInSlot(playerVariables[playerid][pCarID][3], c);
                    playerVariables[playerid][pCarMods5][c] = GetVehicleComponentInSlot(playerVariables[playerid][pCarID][4], c);
                }
            }
        }
        if(playerVariables[playerid][pAdminDuty] == 0 && playerVariables[playerid][pEvent] == 0) {
            GetPlayerHealth(playerid, playerVariables[playerid][pHealth]);
            GetPlayerArmour(playerid, playerVariables[playerid][pArmour]);
        }

        // If they're not in an event and not spectating, current pos is saved. Otherwise, they'll be set back to the pos they last used /joinevent or /spec.
        if(playerVariables[playerid][pSpectating] == INVALID_PLAYER_ID && playerVariables[playerid][pEvent] == 0) {
            GetPlayerPos(playerid, playerVariables[playerid][pPos][0], playerVariables[playerid][pPos][1], playerVariables[playerid][pPos][2]);
            playerVariables[playerid][pInterior] = GetPlayerInterior(playerid);
            playerVariables[playerid][pVirtualWorld] = GetPlayerVirtualWorld(playerid); // If someone disconnects while spectating.
        }

        format(saveQuery, sizeof(saveQuery), "UPDATE playeraccounts SET playerBanned = '%d', playerSeconds = '%d', playerGiftTime = '%d', playerSkin = '%d', playerMoney = '%d', playerBankMoney = '%d'", playerVariables[playerid][pBanned], playerVariables[playerid][pSeconds], playerVariables[playerid][pGiftTime], playerVariables[playerid][pSkin], playerVariables[playerid][pMoney], playerVariables[playerid][pBankMoney]);

        format(saveQuery, sizeof(saveQuery), "%s, playerInterior = '%d', playerVirtualWorld = '%d', playerHealth = '%f', playerArmour = '%f', playerPosX = '%f', playerPosY = '%f', playerPosZ = '%f'", saveQuery, playerVariables[playerid][pInterior], playerVariables[playerid][pVirtualWorld], playerVariables[playerid][pHealth], playerVariables[playerid][pArmour], playerVariables[playerid][pPos][0], playerVariables[playerid][pPos][1], playerVariables[playerid][pPos][2]);

        format(saveQuery, sizeof(saveQuery), "%s, playerAccent = '%s', playerAdminLevel = '%d', playerJob = '%d', playerWeapon0 = '%d', playerWeapon1 = '%d', playerWeapon2 = '%d', playerWeapon3 = '%d'", saveQuery, playerVariables[playerid][pAccent], playerVariables[playerid][pAdminLevel], playerVariables[playerid][pJob], playerVariables[playerid][pWeapons][0], playerVariables[playerid][pWeapons][1], playerVariables[playerid][pWeapons][2], playerVariables[playerid][pWeapons][3]);

        format(saveQuery, sizeof(saveQuery), "%s, playerWeapon4 = '%d', playerWeapon5 = '%d', playerWeapon6 = '%d', playerWeapon7 = '%d', playerWeapon8 = '%d', playerWeapon9 = '%d', playerWeapon10 = '%d'", saveQuery, playerVariables[playerid][pWeapons][4], playerVariables[playerid][pWeapons][5], playerVariables[playerid][pWeapons][6], playerVariables[playerid][pWeapons][7], playerVariables[playerid][pWeapons][8], playerVariables[playerid][pWeapons][9], playerVariables[playerid][pWeapons][10]);

        format(saveQuery, sizeof(saveQuery), "%s, playerWeapon11 = '%d', playerWeapon12 = '%d', playerJobSkill1 = '%d', playerJobSkill2 = '%d', playerMaterials = '%d', playerHours = '%d', playerLevel = '%d'", saveQuery, playerVariables[playerid][pWeapons][11], playerVariables[playerid][pWeapons][12], playerVariables[playerid][pJobSkill][0], playerVariables[playerid][pJobSkill][1], playerVariables[playerid][pMaterials], playerVariables[playerid][pPlayingHours], playerVariables[playerid][pLevel]);

        format(saveQuery, sizeof(saveQuery), "%s, playerWarning1 = '%s', playerWarning2 = '%s', playerWarning3 = '%s', playerHospitalized = '%d', playerFirstLogin = '%d', playerAdminName = '%s', playerHelperName = '%s',playerPrisonTime = '%d', playerPrisonID = '%d', playerPhoneNumber = '%d'", saveQuery, playerVariables[playerid][pWarning1], playerVariables[playerid][pWarning2], playerVariables[playerid][pWarning3], playerVariables[playerid][pHospitalized], playerVariables[playerid][pFirstLogin],
        playerVariables[playerid][pAdminName],playerVariables[playerid][pHelperName],playerVariables[playerid][pPrisonTime], playerVariables[playerid][pPrisonID], playerVariables[playerid][pPhoneNumber]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCarPaintJob = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarPaintjob][0],playerVariables[playerid][pCarPaintjob][1],playerVariables[playerid][pCarPaintjob][2],playerVariables[playerid][pCarPaintjob][3],playerVariables[playerid][pCarPaintjob][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarLock = '%d|%d|%d|%d|%d'",saveQuery,playerVariables[playerid][pCarLock][0],playerVariables[playerid][pCarLock][1],playerVariables[playerid][pCarLock][2], playerVariables[playerid][pCarLock][3],playerVariables[playerid][pCarLock][4]);

        format(saveQuery, sizeof(saveQuery), "%s, playerStatus = '%d', playerGender = '%d', playerFightStyle = '%d'", saveQuery, playerVariables[playerid][pStatus], playerVariables[playerid][pGender], playerVariables[playerid][pFightStyle]);

        //Toys
        format(saveQuery, sizeof(saveQuery), "%s, playerModel1 = '%d'", saveQuery,playerVariables[playerid][pModelID][0]);
        format(saveQuery, sizeof(saveQuery), "%s, playerModel2 = '%d'", saveQuery,playerVariables[playerid][pModelID][1]);
        format(saveQuery, sizeof(saveQuery), "%s, playerModel3 = '%d'", saveQuery,playerVariables[playerid][pModelID][2]);
/*      format(saveQuery, sizeof(saveQuery), "%s, playerModel4 = '%d'", saveQuery,playerVariables[playerid][pModelID][3]);
        format(saveQuery, sizeof(saveQuery), "%s, playerModel5 = '%d'", saveQuery,playerVariables[playerid][pModelID][4]);*/

        format(saveQuery, sizeof(saveQuery), "%s, playerBone1 = '%d'", saveQuery,playerVariables[playerid][pBone][0]);
        format(saveQuery, sizeof(saveQuery), "%s, playerBone2 = '%d'", saveQuery,playerVariables[playerid][pBone][1]);
        format(saveQuery, sizeof(saveQuery), "%s, playerBone3 = '%d'", saveQuery,playerVariables[playerid][pBone][2]);
/*      format(saveQuery, sizeof(saveQuery), "%s, playerBone4 = '%d'", saveQuery,playerVariables[playerid][pBone][3]);
        format(saveQuery, sizeof(saveQuery), "%s, playerBone5 = '%d'", saveQuery,playerVariables[playerid][pBone][4]);*/


/*      format(saveQuery, sizeof(saveQuery), "%s, playerToysBone = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pModelID][0],playerVariables[playerid][pModelID][1], playerVariables[playerid][pModelID][2], playerVariables[playerid][pModelID][3], playerVariables[playerid][pModelID][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToysModelID = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pBone][0],playerVariables[playerid][pBone][1], playerVariables[playerid][pBone][2], playerVariables[playerid][pBone][3], playerVariables[playerid][pBone][4]);

        format(saveQuery, sizeof(saveQuery), "%s, playerToysPosX = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pPosX][0],playerVariables[playerid][pPosX][1], playerVariables[playerid][pPosX][2], playerVariables[playerid][pPosX][3], playerVariables[playerid][pPosX][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToysPosY = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pPosY][0],playerVariables[playerid][pPosY][1], playerVariables[playerid][pPosY][2], playerVariables[playerid][pPosY][3], playerVariables[playerid][pPosY][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToysPosZ = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pPosZ][0],playerVariables[playerid][pPosZ][1], playerVariables[playerid][pPosZ][2], playerVariables[playerid][pPosZ][3], playerVariables[playerid][pPosZ][4]);

        format(saveQuery, sizeof(saveQuery), "%s, playerToysRotX = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pRotX][0],playerVariables[playerid][pRotX][1], playerVariables[playerid][pRotX][2], playerVariables[playerid][pRotX][3], playerVariables[playerid][pRotX][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToysRotY = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pRotY][0],playerVariables[playerid][pRotY][1], playerVariables[playerid][pRotY][2], playerVariables[playerid][pRotY][3], playerVariables[playerid][pRotY][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToysRotZ = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pRotZ][0],playerVariables[playerid][pRotZ][1], playerVariables[playerid][pRotZ][2], playerVariables[playerid][pRotZ][3], playerVariables[playerid][pRotZ][4]);

        format(saveQuery, sizeof(saveQuery), "%s, playerToysScaleX = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pScaleX][0],playerVariables[playerid][pScaleX][1], playerVariables[playerid][pScaleX][2], playerVariables[playerid][pScaleX][3], playerVariables[playerid][pScaleX][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToysScaleY = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pScaleY][0],playerVariables[playerid][pScaleY][1], playerVariables[playerid][pScaleY][2], playerVariables[playerid][pScaleY][3], playerVariables[playerid][pScaleY][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToysScaleZ = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pScaleZ][0],playerVariables[playerid][pScaleZ][1], playerVariables[playerid][pScaleZ][2], playerVariables[playerid][pScaleZ][3], playerVariables[playerid][pScaleZ][4]);
*/

        format(saveQuery, sizeof(saveQuery), "%s, playerToys1PosX = '%f', playerToys1PosY = '%f', playerToys1PosZ = '%f', playerToys1RotX = '%f', playerToys1RotY = '%f', playerToys1RotZ = '%f', playerToys1ScaleX = '%f', playerToys1ScaleY = '%f', playerToys1ScaleZ = '%f'",saveQuery,playerVariables[playerid][pPosX][0],playerVariables[playerid][pPosY][0],playerVariables[playerid][pPosZ][0],
        playerVariables[playerid][pRotX][0],playerVariables[playerid][pRotY][0],playerVariables[playerid][pRotZ][0],playerVariables[playerid][pScaleX][0],playerVariables[playerid][pScaleY][0],playerVariables[playerid][pScaleZ][0]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToys2PosX = '%f', playerToys2PosY = '%f', playerToys2PosZ = '%f', playerToys2RotX = '%f', playerToys2RotY = '%f', playerToys2RotZ = '%f', playerToys2ScaleX = '%f', playerToys2ScaleY = '%f', playerToys2ScaleZ = '%f'",saveQuery,playerVariables[playerid][pPosX][1],playerVariables[playerid][pPosY][1],playerVariables[playerid][pPosZ][1],
        playerVariables[playerid][pRotX][1],playerVariables[playerid][pRotY][1],playerVariables[playerid][pRotZ][1],playerVariables[playerid][pScaleX][1],playerVariables[playerid][pScaleY][1],playerVariables[playerid][pScaleZ][1]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToys3PosX = '%f', playerToys3PosY = '%f', playerToys3PosZ = '%f', playerToys3RotX = '%f', playerToys3RotY = '%f', playerToys3RotZ = '%f', playerToys3ScaleX = '%f', playerToys3ScaleY = '%f', playerToys3ScaleZ = '%f'",saveQuery,playerVariables[playerid][pPosX][2],playerVariables[playerid][pPosY][2],playerVariables[playerid][pPosZ][2],
        playerVariables[playerid][pRotX][2],playerVariables[playerid][pRotY][2],playerVariables[playerid][pRotZ][2],playerVariables[playerid][pScaleX][2],playerVariables[playerid][pScaleY][2],playerVariables[playerid][pScaleZ][2]);
/*      format(saveQuery, sizeof(saveQuery), "%s, playerToys4PosX = '%f', playerToys4PosY = '%f', playerToys4PosZ = '%f', playerToys4RotX = '%f', playerToys4RotY = '%f', playerToys4RotZ = '%f', playerToys4ScaleX = '%f', playerToys4ScaleY = '%f', playerToys4ScaleZ = '%f'",saveQuery,playerVariables[playerid][pPosX][3],playerVariables[playerid][pPosY][3],playerVariables[playerid][pPosZ][3],
        playerVariables[playerid][pRotX][3],playerVariables[playerid][pRotY][3],playerVariables[playerid][pRotZ][3],playerVariables[playerid][pScaleX][3],playerVariables[playerid][pScaleY][3],playerVariables[playerid][pScaleZ][3]);
        format(saveQuery, sizeof(saveQuery), "%s, playerToys5PosX = '%f', playerToys5PosY = '%f', playerToys5PosZ = '%f', playerToys5RotX = '%f', playerToys5RotY = '%f', playerToys5RotZ = '%f', playerToys5ScaleX = '%f', playerToys5ScaleY = '%f', playerToys5ScaleZ = '%f'",saveQuery,playerVariables[playerid][pPosX][4],playerVariables[playerid][pPosY][4],playerVariables[playerid][pPosZ][4],
        playerVariables[playerid][pRotX][4],playerVariables[playerid][pRotY][4],playerVariables[playerid][pRotZ][4],playerVariables[playerid][pScaleX][4],playerVariables[playerid][pScaleY][4],playerVariables[playerid][pScaleZ][4]);
*/



        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeapon1 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeapons1][0], playerVariables[playerid][pCarWeapons1][1], playerVariables[playerid][pCarWeapons1][2], playerVariables[playerid][pCarWeapons1][3], playerVariables[playerid][pCarWeapons1][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeapon2 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeapons2][0], playerVariables[playerid][pCarWeapons2][1], playerVariables[playerid][pCarWeapons2][2], playerVariables[playerid][pCarWeapons2][3], playerVariables[playerid][pCarWeapons2][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeapon3 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeapons3][0], playerVariables[playerid][pCarWeapons3][1], playerVariables[playerid][pCarWeapons3][2], playerVariables[playerid][pCarWeapons3][3], playerVariables[playerid][pCarWeapons3][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeapon4 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeapons4][0], playerVariables[playerid][pCarWeapons4][1], playerVariables[playerid][pCarWeapons4][2], playerVariables[playerid][pCarWeapons4][3], playerVariables[playerid][pCarWeapons4][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeapon5 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeapons5][0], playerVariables[playerid][pCarWeapons5][1], playerVariables[playerid][pCarWeapons5][2], playerVariables[playerid][pCarWeapons5][3], playerVariables[playerid][pCarWeapons5][4]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCar1LicensePlate = '%s',playerCar2LicensePlate = '%s',playerCar3LicensePlate = '%s',playerCar4LicensePlate = '%s',playerCar5LicensePlate = '%s'",saveQuery, playerVariables[playerid][pCarLicensePlate1], playerVariables[playerid][pCarLicensePlate2],playerVariables[playerid][pCarLicensePlate3],playerVariables[playerid][pCarLicensePlate4],playerVariables[playerid][pCarLicensePlate5]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCarModel = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarModel][0],playerVariables[playerid][pCarModel][1],playerVariables[playerid][pCarModel][2],playerVariables[playerid][pCarModel][3],playerVariables[playerid][pCarModel][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarNeons = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarNeon][0],playerVariables[playerid][pCarNeon][1],playerVariables[playerid][pCarNeon][2],playerVariables[playerid][pCarNeon][3],playerVariables[playerid][pCarNeon][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarColour1 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarColour1][0], playerVariables[playerid][pCarColour1][1], playerVariables[playerid][pCarColour1][2], playerVariables[playerid][pCarColour1][3], playerVariables[playerid][pCarColour1][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarColour2 = '%d|%d|%d|%d|%d'",saveQuery,playerVariables[playerid][pCarColour2][0], playerVariables[playerid][pCarColour2][1], playerVariables[playerid][pCarColour2][2], playerVariables[playerid][pCarColour2][3], playerVariables[playerid][pCarColour2][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar1PosX = '%f', playerCar1PosY = '%f', playerCar1PosZ = '%f', playerCar1PosZAngle = '%f'",saveQuery,playerVariables[playerid][pCarPosX][0],playerVariables[playerid][pCarPosY][0],playerVariables[playerid][pCarPosZ][0],playerVariables[playerid][pCarPosZAngle][0]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCar2PosX = '%f', playerCar2PosY = '%f', playerCar2PosZ = '%f', playerCar2PosZAngle = '%f'", saveQuery, playerVariables[playerid][pCarPosX][1],playerVariables[playerid][pCarPosY][1],playerVariables[playerid][pCarPosZ][1],playerVariables[playerid][pCarPosZAngle][1]);
        format(saveQuery, sizeof(saveQuery), "%s,playerCar3PosX = '%f', playerCar3PosY = '%f', playerCar3PosZ = '%f', playerCar3PosZAngle = '%f'", saveQuery, playerVariables[playerid][pCarPosX][2],playerVariables[playerid][pCarPosY][2],playerVariables[playerid][pCarPosZ][2],playerVariables[playerid][pCarPosZAngle][2]);
        format(saveQuery, sizeof(saveQuery), "%s,playerCar4PosX = '%f', playerCar4PosY = '%f', playerCar4PosZ = '%f', playerCar4PosZAngle = '%f'", saveQuery, playerVariables[playerid][pCarPosX][3],playerVariables[playerid][pCarPosY][3],playerVariables[playerid][pCarPosZ][3],playerVariables[playerid][pCarPosZAngle][3]);
        format(saveQuery, sizeof(saveQuery), "%s,playerCar5PosX = '%f', playerCar5PosY = '%f', playerCar5PosZ = '%f', playerCar5PosZAngle = '%f'", saveQuery, playerVariables[playerid][pCarPosX][4],playerVariables[playerid][pCarPosY][4],playerVariables[playerid][pCarPosZ][4],playerVariables[playerid][pCarPosZAngle][4]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCar2PosX = '%f', playerCar2PosY = '%f', playerCar2PosZ = '%f', playerCar2PosZAngle = '%f'", saveQuery, playerVariables[playerid][pCarPosX][1],playerVariables[playerid][pCarPosY][1],playerVariables[playerid][pCarPosZ][1],playerVariables[playerid][pCarPosZAngle][1]);
        format(saveQuery, sizeof(saveQuery), "%s,playerCar3PosX = '%f', playerCar3PosY = '%f', playerCar3PosZ = '%f', playerCar3PosZAngle = '%f'", saveQuery, playerVariables[playerid][pCarPosX][2],playerVariables[playerid][pCarPosY][2],playerVariables[playerid][pCarPosZ][2],playerVariables[playerid][pCarPosZAngle][2]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCar1Mod = '%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d'", saveQuery, playerVariables[playerid][pCarMods1][0], playerVariables[playerid][pCarMods1][1], playerVariables[playerid][pCarMods1][2], playerVariables[playerid][pCarMods1][3], playerVariables[playerid][pCarMods1][4], playerVariables[playerid][pCarMods1][5],
        playerVariables[playerid][pCarMods1][6], playerVariables[playerid][pCarMods1][7], playerVariables[playerid][pCarMods1][8], playerVariables[playerid][pCarMods1][9], playerVariables[playerid][pCarMods1][10], playerVariables[playerid][pCarMods1][11], playerVariables[playerid][pCarMods1][12], playerVariables[playerid][pCarMods1][13]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCar2Mod = '%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d'", saveQuery, playerVariables[playerid][pCarMods2][0], playerVariables[playerid][pCarMods2][1], playerVariables[playerid][pCarMods2][2], playerVariables[playerid][pCarMods2][3], playerVariables[playerid][pCarMods2][4], playerVariables[playerid][pCarMods2][5],
        playerVariables[playerid][pCarMods2][6], playerVariables[playerid][pCarMods2][7], playerVariables[playerid][pCarMods2][8], playerVariables[playerid][pCarMods2][9], playerVariables[playerid][pCarMods2][10], playerVariables[playerid][pCarMods2][11], playerVariables[playerid][pCarMods2][12], playerVariables[playerid][pCarMods2][13]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCar3Mod = '%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d'", saveQuery, playerVariables[playerid][pCarMods3][0], playerVariables[playerid][pCarMods3][1], playerVariables[playerid][pCarMods3][2], playerVariables[playerid][pCarMods3][3], playerVariables[playerid][pCarMods3][4], playerVariables[playerid][pCarMods3][5],
        playerVariables[playerid][pCarMods3][6], playerVariables[playerid][pCarMods3][7], playerVariables[playerid][pCarMods3][8], playerVariables[playerid][pCarMods3][9], playerVariables[playerid][pCarMods3][10], playerVariables[playerid][pCarMods3][11], playerVariables[playerid][pCarMods3][12], playerVariables[playerid][pCarMods3][13]);

        format(saveQuery, sizeof(saveQuery), "%s, playerPhoneBook = '%d', playerGroup = '%d', playerGroupRank = '%d', playerIP = '%s', playerDropCarTimeout = '%d', playerRope = '%d', playerAdminDuty = '%d', playerCrimes = '%d', playerArrests = '%d', playerWarrants = '%d', playerAge = '%d' WHERE playerID = '%d'", saveQuery, playerVariables[playerid][pPhoneBook],
        playerVariables[playerid][pGroup], playerVariables[playerid][pGroupRank], playerVariables[playerid][pConnectionIP], playerVariables[playerid][pDropCarTimeout], playerVariables[playerid][pRope], playerVariables[playerid][pAdminDuty], playerVariables[playerid][pCrimes], playerVariables[playerid][pArrests], playerVariables[playerid][pWarrants], playerVariables[playerid][pAge], playerVariables[playerid][pInternalID]);

        mysql_query(saveQuery);
//save udlu di disini

        format(saveQuery, sizeof(saveQuery), "UPDATE playeraccounts SET playerCar4Mod = '%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d'", saveQuery, playerVariables[playerid][pCarMods4][0], playerVariables[playerid][pCarMods4][1], playerVariables[playerid][pCarMods4][2], playerVariables[playerid][pCarMods4][3], playerVariables[playerid][pCarMods4][4], playerVariables[playerid][pCarMods4][5],
        playerVariables[playerid][pCarMods4][6], playerVariables[playerid][pCarMods4][7], playerVariables[playerid][pCarMods4][8], playerVariables[playerid][pCarMods4][9], playerVariables[playerid][pCarMods4][10], playerVariables[playerid][pCarMods4][11], playerVariables[playerid][pCarMods4][12], playerVariables[playerid][pCarMods4][13]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCar5Mod = '%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d'", saveQuery, playerVariables[playerid][pCarMods5][0], playerVariables[playerid][pCarMods5][1], playerVariables[playerid][pCarMods5][2], playerVariables[playerid][pCarMods5][3], playerVariables[playerid][pCarMods5][4], playerVariables[playerid][pCarMods5][5],
        playerVariables[playerid][pCarMods5][6], playerVariables[playerid][pCarMods5][7], playerVariables[playerid][pCarMods5][8], playerVariables[playerid][pCarMods5][9], playerVariables[playerid][pCarMods5][10], playerVariables[playerid][pCarMods5][11], playerVariables[playerid][pCarMods5][12], playerVariables[playerid][pCarMods5][13]);

        //format(saveQuery, sizeof(saveQuery), "%s, playerCarTrunk1 = '%d|%d|%d|%d|%d'", saveQuery, playerVariables[playerid][pCarTrunk1][0], playerVariables[playerid][pCarTrunk1][1], playerVariables[playerid][pCarTrunk1][2],playerVariables[playerid][pCarTrunk1][3], playerVariables[playerid][pCarTrunk1][4]);
        //format(saveQuery, sizeof(saveQuery), "%s, playerCarTrunk2 = '%d|%d|%d|%d|%d', playerPhoneCredit = '%d', playerWalkieTalkie = '%d'", saveQuery, playerVariables[playerid][pCarTrunk2][0], playerVariables[playerid][pCarTrunk2][1], playerVariables[playerid][pCarTrunk2][2],playerVariables[playerid][pCarTrunk2][3], playerVariables[playerid][pCarTrunk2][4], playerVariables[playerid][pPhoneCredit], playerVariables[playerid][pWalkieTalkie]);

        format(saveQuery, sizeof(saveQuery), "%s, playerPhoneCredit = '%d', playerWalkieTalkie = '%d'", saveQuery, playerVariables[playerid][pPhoneCredit], playerVariables[playerid][pWalkieTalkie]);

        format(saveQuery, sizeof(saveQuery), "%s, playerCar1Trunk1 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk1][0]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar2Trunk1 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk1][1]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar3Trunk1 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk1][2]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar4Trunk1 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk1][3]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar5Trunk1 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk1][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar1Trunk2 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk2][0]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar2Trunk2 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk2][1]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar3Trunk2 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk2][2]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar4Trunk2 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk2][3]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar5Trunk2 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk2][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar1Trunk3 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk3][0]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar2Trunk3 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk3][1]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar3Trunk3 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk3][2]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar4Trunk3 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk3][3]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar5Trunk3 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk3][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar1Trunk4 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk4][0]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar2Trunk4 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk4][1]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar3Trunk4 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk4][2]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar4Trunk4 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk4][3]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCar5Trunk4 = '%d'", saveQuery,playerVariables[playerid][pCarTrunk4][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerAmmoJualan = '%d'", saveQuery,playerVariables[playerid][pAmmoJualan]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarFuel = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarFuel][0],playerVariables[playerid][pCarFuel][1], playerVariables[playerid][pCarFuel][2], playerVariables[playerid][pCarFuel][3], playerVariables[playerid][pCarFuel][4]);

        //vehdamage
        format(saveQuery, sizeof(saveQuery), "%s, playerCarHp = '%f|%f|%f|%f|%f'",saveQuery, playerVariables[playerid][pCarHp][0],playerVariables[playerid][pCarHp][1], playerVariables[playerid][pCarHp][2], playerVariables[playerid][pCarHp][3], playerVariables[playerid][pCarHp][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarUpgrade = '%d|%d|%d|%d|%d'",saveQuery,playerVariables[playerid][pCarUpgrade][0], playerVariables[playerid][pCarUpgrade][1], playerVariables[playerid][pCarUpgrade][2], playerVariables[playerid][pCarUpgrade][3], playerVariables[playerid][pCarUpgrade][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarInsurances = '%d|%d|%d|%d|%d'",saveQuery,playerVariables[playerid][pCarInsurances][0], playerVariables[playerid][pCarInsurances][1], playerVariables[playerid][pCarInsurances][2], playerVariables[playerid][pCarInsurances][3], playerVariables[playerid][pCarInsurances][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarPanels = '%d|%d|%d|%d|%d'",saveQuery,playerVariables[playerid][pCarPanels][0], playerVariables[playerid][pCarPanels][1], playerVariables[playerid][pCarPanels][2], playerVariables[playerid][pCarPanels][3], playerVariables[playerid][pCarPanels][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarDoors = '%d|%d|%d|%d|%d'",saveQuery,playerVariables[playerid][pCarDoors][0], playerVariables[playerid][pCarDoors][1], playerVariables[playerid][pCarDoors][2], playerVariables[playerid][pCarDoors][3], playerVariables[playerid][pCarDoors][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarLights = '%d|%d|%d|%d|%d'",saveQuery,playerVariables[playerid][pCarLights][0], playerVariables[playerid][pCarLights][1], playerVariables[playerid][pCarLights][2], playerVariables[playerid][pCarLights][3], playerVariables[playerid][pCarLights][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarTires = '%d|%d|%d|%d|%d'",saveQuery,playerVariables[playerid][pCarTires][0], playerVariables[playerid][pCarTires][1], playerVariables[playerid][pCarTires][2], playerVariables[playerid][pCarTires][3], playerVariables[playerid][pCarTires][4]);

        //VIP
        format(saveQuery, sizeof(saveQuery), "%s, playerVIP = '%d', playerVIPJoin = '%d', playerVIPExpire = '%s', playerVIPExpTime = '%s', playerVIPLong = '%d', playerTokens = '%d', playerExp = '%d'", saveQuery, playerVariables[playerid][pVIPRank], playerVariables[playerid][pVIPJDate], playerVariables[playerid][pVIPEDate], playerVariables[playerid][pVIPExpTime],playerVariables[playerid][pVIPLong], playerVariables[playerid][pTokens], playerVariables[playerid][pExp]);

        //mask
        format(saveQuery, sizeof(saveQuery),"%s, playerMask = '%d', playerMaskUse = '%d', playerMaskId = '%d', playerHelperLevel = '%d', playerCarLicense = '%d', playerBoatLicense = '%d', playerFlyLicense = '%d'",saveQuery,playerVariables[playerid][pMask],playerVariables[playerid][pMaskUse],playerVariables[playerid][pMaskID],playerVariables[playerid][pHelper],playerVariables[playerid][pCarLic], playerVariables[playerid][pBoatLic], playerVariables[playerid][pFlyLic]);

        //Ammo
        format(saveQuery, sizeof(saveQuery), "%s, playerWeaponsAmmo = '%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d'", saveQuery, playerVariables[playerid][pWeaponsAmmo][0], playerVariables[playerid][pWeaponsAmmo][1], playerVariables[playerid][pWeaponsAmmo][2], playerVariables[playerid][pWeaponsAmmo][3], playerVariables[playerid][pWeaponsAmmo][4], playerVariables[playerid][pWeaponsAmmo][5],
        playerVariables[playerid][pWeaponsAmmo][6], playerVariables[playerid][pWeaponsAmmo][7], playerVariables[playerid][pWeaponsAmmo][8], playerVariables[playerid][pWeaponsAmmo][9], playerVariables[playerid][pWeaponsAmmo][10], playerVariables[playerid][pWeaponsAmmo][11], playerVariables[playerid][pWeaponsAmmo][12]);

        format(saveQuery, sizeof(saveQuery), "%s, playerPot = '%d'", saveQuery,playerVariables[playerid][pPot]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCrack = '%d'", saveQuery,playerVariables[playerid][pCrack]);
        format(saveQuery, sizeof(saveQuery), "%s, playerWeedX = '%f'", saveQuery,playerVariables[playerid][pWX]);
        format(saveQuery, sizeof(saveQuery), "%s, playerWeedY = '%f'", saveQuery,playerVariables[playerid][pWY]);
        format(saveQuery, sizeof(saveQuery), "%s, playerWeedZ = '%f'", saveQuery,playerVariables[playerid][pWZ]);
        format(saveQuery, sizeof(saveQuery), "%s, playerWeedSeed = '%d'", saveQuery,playerVariables[playerid][pWSeeds]);
        format(saveQuery, sizeof(saveQuery), "%s, playerWeedExist = '%d'", saveQuery,playerVariables[playerid][pWExists]);
        format(saveQuery, sizeof(saveQuery), "%s, playerWeedValue = '%d'", saveQuery,playerVariables[playerid][pWValue]);
        format(saveQuery, sizeof(saveQuery), "%s, playerComponent = '%d'", saveQuery,playerVariables[playerid][pComponent]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCondition = '%d'", saveQuery,playerVariables[playerid][pCondition]);
        format(saveQuery, sizeof(saveQuery), "%s, playerHunger = '%d'", saveQuery,playerVariables[playerid][pHunger]);
        format(saveQuery, sizeof(saveQuery), "%s, playerKTP = '%d'", saveQuery,playerVariables[playerid][pKTP]);
        format(saveQuery, sizeof(saveQuery), "%s, playerEmployee = '%d'", saveQuery,playerVariables[playerid][pEmployee]);
        format(saveQuery, sizeof(saveQuery), "%s, playerBadge = '%d'", saveQuery,playerVariables[playerid][pBadge]);
        format(saveQuery, sizeof(saveQuery), "%s, playerResep = '%d'", saveQuery,playerVariables[playerid][pResep]);
        format(saveQuery, sizeof(saveQuery), "%s, playerJobDelay = '%d'", saveQuery,playerVariables[playerid][pJobDelay]);
        format(saveQuery, sizeof(saveQuery), "%s, playerQuiz = '%d'", saveQuery,playerVariables[playerid][pQuiz]);
        format(saveQuery, sizeof(saveQuery), "%s, playerContract = '%d'", saveQuery,playerVariables[playerid][pContract]);
        format(saveQuery, sizeof(saveQuery), "%s, playerDuty = '%d'", saveQuery,playerVariables[playerid][pDuty]);
        format(saveQuery, sizeof(saveQuery), "%s, playerEnergy = '%d'", saveQuery,playerVariables[playerid][pEnergy]);
        format(saveQuery, sizeof(saveQuery), "%s, playerBladder = '%d'", saveQuery,playerVariables[playerid][pBladder]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCondition = '%d'", saveQuery,playerVariables[playerid][pCondition]);
        //Crate
        format(saveQuery, sizeof(saveQuery), "%s, playerCrate = '%d'", saveQuery,playerVariables[playerid][pCrate]);
        format(saveQuery, sizeof(saveQuery), "%s, playerStone = '%d'", saveQuery,playerVariables[playerid][pStone]);
        format(saveQuery, sizeof(saveQuery), "%s, playerPickstone = '%d'", saveQuery,playerVariables[playerid][pPickstone]);
        format(saveQuery, sizeof(saveQuery), "%s, playerWoodcrate = '%d'", saveQuery,playerVariables[playerid][pWoodcrate]);
        format(saveQuery, sizeof(saveQuery), "%s, playerLumber = '%d'", saveQuery,playerVariables[playerid][pLumber]);
        format(saveQuery, sizeof(saveQuery), "%s, playerBait = '%d'", saveQuery,playerVariables[playerid][pBait]);
        format(saveQuery, sizeof(saveQuery), "%s, playerFurniture = '%d'", saveQuery,playerVariables[playerid][pFurniture]);
        format(saveQuery, sizeof(saveQuery), "%s, playerWarn = '%d'", saveQuery,playerVariables[playerid][pWarn]);
        format(saveQuery, sizeof(saveQuery), "%s, playerPole = '%d'", saveQuery,playerVariables[playerid][pPole]);
        format(saveQuery, sizeof(saveQuery), "%s, playerBackpack = '%d'", saveQuery,playerVariables[playerid][pBackpack]);
        format(saveQuery, sizeof(saveQuery), "%s, playerGymLevel = '%d'", saveQuery,playerVariables[playerid][pGymLevel]);
        format(saveQuery, sizeof(saveQuery), "%s, playerSprintLevel = '%d'", saveQuery,playerVariables[playerid][pSprintLevel]);
        format(saveQuery, sizeof(saveQuery), "%s, playerComponentCrate = '%d'", saveQuery,playerVariables[playerid][pComponentCrate]);
        //car ammo
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeaponsAmmo1 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeaponsAmmo1][0], playerVariables[playerid][pCarWeaponsAmmo1][1], playerVariables[playerid][pCarWeaponsAmmo1][2], playerVariables[playerid][pCarWeaponsAmmo1][3], playerVariables[playerid][pCarWeaponsAmmo1][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeaponsAmmo2 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeaponsAmmo2][0], playerVariables[playerid][pCarWeaponsAmmo2][1], playerVariables[playerid][pCarWeaponsAmmo2][2], playerVariables[playerid][pCarWeaponsAmmo2][3], playerVariables[playerid][pCarWeaponsAmmo2][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeaponsAmmo3 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeaponsAmmo3][0], playerVariables[playerid][pCarWeaponsAmmo3][1], playerVariables[playerid][pCarWeaponsAmmo3][2], playerVariables[playerid][pCarWeaponsAmmo3][3], playerVariables[playerid][pCarWeaponsAmmo3][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeaponsAmmo4 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeaponsAmmo4][0], playerVariables[playerid][pCarWeaponsAmmo4][1], playerVariables[playerid][pCarWeaponsAmmo4][2], playerVariables[playerid][pCarWeaponsAmmo4][3], playerVariables[playerid][pCarWeaponsAmmo4][4]);
        format(saveQuery, sizeof(saveQuery), "%s, playerCarWeaponsAmmo5 = '%d|%d|%d|%d|%d'",saveQuery, playerVariables[playerid][pCarWeaponsAmmo5][0], playerVariables[playerid][pCarWeaponsAmmo5][1], playerVariables[playerid][pCarWeaponsAmmo5][2], playerVariables[playerid][pCarWeaponsAmmo5][3], playerVariables[playerid][pCarWeaponsAmmo5][4]);

//      format(saveQuery, sizeof(saveQuery), "%s, playerCarWeaponsAmmo = '%d|%d|%d|%d|%d'", saveQuery, playerVariables[playerid][pCarWeaponsAmmo][0], playerVariables[playerid][pCarWeaponsAmmo][1], playerVariables[playerid][pCarWeaponsAmmo][2], playerVariables[playerid][pCarWeaponsAmmo][3], playerVariables[playerid][pCarWeaponsAmmo][4]);

        format(saveQuery, sizeof(saveQuery), "%s WHERE playerID = '%d'", saveQuery, playerVariables[playerid][pInternalID]);

        mysql_query(saveQuery);
    }

    return 1;
}
i dont know what i must to do , help me pls i will give u a rep if you can help me , thanks before
Reply
#2

help me please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)