[help me] Data not save SQL
#1

Data not save SQL.

When I set data in the game but the database is not updated.
Reply
#2

Then Post the query you use?
Reply
#3

PlayerInfo[playerid][pPoly],
PlayerInfo[playerid][pDen],
PlayerInfo[playerid][pTan],
PlayerInfo[playerid][pGammatan],
PlayerInfo[playerid][pTree],


format(string, sizeof(string), "UPDATE players SET `Fishes1`='%s',`Fishes2`='%s',`Fishes3`='%s',`Fish es4`='%s',`Fishes5`='%s',`Fish1`=%d,`Fish2`=%d,`Fi sh3`=%d,`Fish4`=%d,`Fish5`=%d,`Note1s`=%d,`Note2s` =%d,`Note3s`=%d,`Note4s`=%d,`Note5s`=%d,`Note1`='% s',`Note2`='%s',`Note3`='%s',`Note4`='%s',`Note5`= '%s',`JobDelay`=%d,`MaskUse`=%d,`Accent`='%s',`Vot ed2`=%d,`AdmName`='%s',`HeadValue`=%d,`HiddenNum`= %d,`Skate`=%d ,`Metal`=%d ,`Poly`=%d ,`Gammatan`=%d ,`Tree`=%d WHERE `Name`='%s'",

5 Last Data not update
Reply
#4

help
Reply
#5

Can you show us how you declared the string value?

Maybe the array size is too small
Reply
#6

new string[1024];
Reply
#7

Database bug no save cost.

The only new variable.
Create a new field will not save.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)