Statatistic save, does not work - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Statatistic save, does not work (
/showthread.php?tid=194782)
Statatistic save, does not work -
RenisiL - 30.11.2010
I did that. to save player statistics, but does not work mysql UPDATE code
Код:
format ( Query, sizeof( Query ), "UPDATE `saskaitos` SET `Pinigai` = %d, `VIP` = %d WHERE `Vardas` = '%s'",
PlayerData[ playerid ] [ Pinigai ],
PlayerData[ playerid ] [ VIP ],
PlayerData[ playerid ] [ Vardas ] );
mysql_logo
Код:
[16:34:10] CMySQLHandler::Query(UPDATE `saskaitos` SET `Pinigai` = 0, `VIP` = 0 WHERE `Vardas` = '') - Successfully executed.
Re: Statatistic save, does not work -
RenisiL - 01.12.2010
No one knows the problem?