28.10.2011, 15:42
Well, I've designed a full banking system and everything works the way it should but I thought it would be a nicer interface if I used Dialogs... So I came across a problem with that..
For my Withdraw and deposit dialog. There both input boxes but how do I retrieve the inputtext and put it to a variable that I can use later on?
In other words
Making a variable called bankwithdraw
Then once I have put the inputtext to the bankwithdraw I can do
PlayerInfo[playerid][BankAmount] - bankwithdraw
So it subtracts how ever much the player typed from the money in their bank account. Thanks
For my Withdraw and deposit dialog. There both input boxes but how do I retrieve the inputtext and put it to a variable that I can use later on?
In other words
Making a variable called bankwithdraw
Then once I have put the inputtext to the bankwithdraw I can do
PlayerInfo[playerid][BankAmount] - bankwithdraw
So it subtracts how ever much the player typed from the money in their bank account. Thanks