SQL don't update
#1

http://pastebin.com/sB9uNqkY

I don't know, the user don't update..


THANKS FOR THE HELP +REP
Reply
#2

In your query line you have a , on your last piece of data, once you remove that it should be fine.

pawn Код:
format(sQuery, sizeof(sQuery), "UPDATE `playerinfo` SET `matou` = %d, `morreu` = %d, `dinheiro` = %d, `admin` = %d, `posx` = %f, `posy` = %f, `posz` = %f, `interior` = %d, `skin` = %d, `banco` = %d, `level` = %d, tutorial = %d[HERE],[HERE] WHERE `user` = '%s'",
Remove that to get

pawn Код:
format(sQuery, sizeof(sQuery), "UPDATE `playerinfo` SET `matou` = %d, `morreu` = %d, `dinheiro` = %d, `admin` = %d, `posx` = %f, `posy` = %f, `posz` = %f, `interior` = %d, `skin` = %d, `banco` = %d, `level` = %d, tutorial = %d WHERE `user` = '%s'",
Reply
#3

Thanks! rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)