SA-MP Forums Archive
need help with mysql load - 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: need help with mysql load (/showthread.php?tid=485251)



need help with mysql load - count.php - 03.01.2014

hello everyone, how I can make command, who save all mysql stats ?


Re: need help with mysql load - Yashas - 03.01.2014

How to create commands

The above link will teach you how to create commands the normal way.I suggest you to use ZCMD or YCMD as they are better and faster.

To save MySQL stats, you need a MySQL plugin and use this MySQL Query to update the stats
UPDATE table_name SET field1='abc',id=4 WHERE Name='Yashas'

Keep adding more field names to it and don't forget to separate them by a coma.