SA-MP Forums Archive
[MYSQL]Whats wrong with this cmd - 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)
+--- Thread: [MYSQL]Whats wrong with this cmd (/showthread.php?tid=363419)



[MYSQL]Whats wrong with this cmd - TheDeath - 27.07.2012

pawn Код:
new Query[128];
    format(Query,sizeof(Query),"UPDATE `users` SET Money='%s' WHERE username = '%s'",GetPlayerMoney(playerid),PlayerName(playerid));
    mysql_query(Query);
EDIT : MY WRONG IT WAS %d