SA-MP Forums Archive
mysql problem - 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 problem (/showthread.php?tid=419980)



mysql problem - Cake12345 - 03.03.2013

Hello this wont save.... I make my self vip trough the MYSQL db and when I log in it takes it from me. Or if i give it to me ingame and relog... please help

pawn Код:
formatcat(query, "`DonateRank` = '%d', ",PlayerInfo[playerid][pDonateRank]);
                for (new i = 1; i < 4; i++)
                {
                    new datevar[32];
                    format(datevar, sizeof(datevar), "`JoinDate_%d` = '%d', ", i);
                    formatcat(query, datevar, PlayerInfo[playerid][pJoinDate][i]);

                    format(datevar, sizeof(datevar), "`ExpireDate_%d` = '%d', ", i);
                    formatcat(query, datevar, PlayerInfo[playerid][pExpireDate][i]);
                }



Re: mysql problem - Cake12345 - 03.03.2013

bump