My values aren't saving into SQL
#6

you forgot to put "," after Admin = %d

try this:
pawn Код:
format(szQuery, sizeof(szQuery), "UPDATE players SET Money = %d, Score = %d, Admin = %d, Kills = %d, Deaths = %d, Weather = %d", GetPlayerMoney(playerid), GetPlayerScore(playerid), PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pWeather]);
Reply


Messages In This Thread
My values aren't saving into SQL - by KiNG3 - 17.04.2013, 05:32
Re: My values aren't saving into SQL - by Pottus - 17.04.2013, 05:41
Re: My values aren't saving into SQL - by KiNG3 - 17.04.2013, 05:53
Re: My values aren't saving into SQL - by Pottus - 17.04.2013, 05:57
Re: My values aren't saving into SQL - by KiNG3 - 17.04.2013, 06:01
Re: My values aren't saving into SQL - by RedCrossER - 17.04.2013, 07:19
Re: My values aren't saving into SQL - by KiNG3 - 17.04.2013, 07:24
Re: My values aren't saving into SQL - by Pottus - 17.04.2013, 07:27
Re: My values aren't saving into SQL - by KiNG3 - 17.04.2013, 07:29
Re: My values aren't saving into SQL - by Pottus - 17.04.2013, 07:32

Forum Jump:


Users browsing this thread: 1 Guest(s)