SA-MP Forums Archive
[HELP] Save money Bank - 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: [HELP] Save money Bank (/showthread.php?tid=156000)



[HELP] Save money Bank - maia123123 - 20.06.2010

Hello, I have a GM with the banking system
And the FS gAdmin configured to Portuguese with some changes, but would like to save and load the money from the bank that was created by GM in my FS
Already formulated in various ways and none worked.
Carerga in chat (bank account: $ 8,554), but when I go to the bank says (Your balance is: $ 0)
Does anyone know how to do so I can take the money from the bank and display correctly on the server (Your balance is: $ 8,554)?

---->>Edit: He is saved in SQL!


Re: [HELP] Save money Bank - titanak - 20.06.2010

Write the Balance line here


Re: [HELP] Save money Bank - nakashor - 20.06.2010

You need to save it into a file.


Re: [HELP] Save money Bank - maia123123 - 20.06.2010

Quote:

format(string, sizeof(string), "Seu Saldo: ~g~$%d", bank[playerid]);

This ta at GM