06.06.2010, 14:28
Uhm so I'm currently building a bank system for my server, however I can't get any further since I need some way to save the inputtext from one dialog for later use.
The way it works is like this:
/bank enters a dialog where you have to enter a password
if password is correct you will be sat to:
BankData[playerid][bLogged] true;
then when you type /bank again a menu pops up with different stuff like withdraw, deposit and stuff like that.
But my server is not build with anything like ID since that would ruin my bank idea.
I hope someone have a solution for this.
Quote:
format(string,128,"UPDATE `bank` SET `Amount`='%s' WHERE `Password`='%s'",inputtext,(somepassword stored thing)); |
/bank enters a dialog where you have to enter a password
if password is correct you will be sat to:
BankData[playerid][bLogged] true;
then when you type /bank again a menu pops up with different stuff like withdraw, deposit and stuff like that.
But my server is not build with anything like ID since that would ruin my bank idea.
I hope someone have a solution for this.