SA-MP Forums Archive
Bank System[MYSQL] - 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: Bank System[MYSQL] (/showthread.php?tid=594187)



Bank System[MYSQL] - vassilis - 14.11.2015

Hello mates.
I am making a gamemode and i want to start making a bank system for my GM.
The ideas are these:

DEPOSIT
TRANSFER
BALANCE
WITHDRAW

Do i have to use an enumerator to start it? Also i want to implement it so people can transfer money to people who are offline too.. Any ideas how could i do it?


Re : Bank System[MYSQL] - Dutheil - 14.11.2015

Personally, I would create an enum for bank accounts, which they would be related to the player when connected. But the bank account would be accessible when his owner is disconnected.


Re: Bank System[MYSQL] - vassilis - 14.11.2015

Any possible idea of how it could be implemented?