MySQL [INFO] Now logging: errors
#5

Quote:
Originally Posted by Mattakil
Посмотреть сообщение
pawn Код:
format(query, sizeof(query), "UPDATE `users` SET `upgrade` = %d, `paydaytime` = %d, `spawnhealth` = %.1f, `cellphone` = %d, `number` = %d, `savings` = %d, `housekey` = %d, `bizkey` = %d, `veh1` = %d, `veh2` = %d, `veh3` = %d `melee` = %d, `wep1`= %d, `wep2` = %d, `ammo1` = %d, `ammo2`= %d WHERE `name` = '%s'",
        PlayerInfo[playerid][pUpgrade],
        PlayerInfo[playerid][pPayDayTime],
        PlayerInfo[playerid][pSHealth],
        PlayerInfo[playerid][pCellPhone],
        PlayerInfo[playerid][pNumber],
        PlayerInfo[playerid][pSavings],
        PlayerInfo[playerid][pHouseKey],
        PlayerInfo[playerid][pBizKey],
        PlayerVehicle[playerid][pVeh1],
        PlayerVehicle[playerid][pVeh2],
        PlayerVehicle[playerid][pVeh3],
        PlayerInfo[playerid][pMeleeWep],
        GetPrimaryWeapon(playerid),
        GetSecondaryWeapon(playerid),
        GetWeaponAmmo(playerid, PlayerInfo[playerid][pPerm1]),
        GetWeaponAmmo(playerid, PlayerInfo[playerid][pPerm2]),
        GetName(playerid));
        mysql_function_query(dbHandle, query, false, "", "");
Try that, the vehicles were set to a string, I assume they should be set to a int, for the vehicleid
Thank you, i'll try
Reply


Messages In This Thread
MySQL [INFO] Now logging: errors - by Mavis100 - 24.04.2014, 23:42
Re: MySQL [INFO] Now logging: errors - by Mattakil - 24.04.2014, 23:51
Re: MySQL [INFO] Now logging: errors - by Mavis100 - 24.04.2014, 23:57
Re: MySQL [INFO] Now logging: errors - by Mattakil - 25.04.2014, 00:04
Re: MySQL [INFO] Now logging: errors - by Mavis100 - 25.04.2014, 02:35

Forum Jump:


Users browsing this thread: 2 Guest(s)