Need deposit and withdraw command - 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 deposit and withdraw command (
/showthread.php?tid=295755)
Need deposit and withdraw command -
Admigo - 07.11.2011
Heey all,
I am looking for a deposit and withdraw command.
I already searched but most of them are with dialog.
I just need the command with input:/deposit amount
And i want to let it be saved.
I hope someone wants to help me.
Thanks Admigo
Re: Need deposit and withdraw command -
Ironboy - 07.11.2011
Quote:
Originally Posted by admigo
Heey all,
I am looking for a deposit and withdraw command.
I already searched but most of them are with dialog.
I just need the command with input:/deposit amount
And i want to let it be saved.
I hope someone wants to help me.
Thanks Admigo
|
This FS is not with dialogs, maybe it will help you
http://forum.sa-mp.com/showthread.ph...ht=bank+system
Re: Need deposit and withdraw command -
KosmasRego - 07.11.2011
pawn Код:
If you want help in script pm me
Re: Need deposit and withdraw command -
Admigo - 07.11.2011
Quote:
Originally Posted by Ironboy
|
Thanks dude,only 1 bug in script.
I you typ command /deposit -(amount) you get money.Example if i enter /deposit -1000 i get 1000 dollar.
How to fix this?
Re: Need deposit and withdraw command -
KosmasRego - 07.11.2011
The right thing is:
Deposit to save money in bank such as /deposit 1000 you save 1000 in your bank.
Withdraw to take money in your hand such as /withdraw 1000 you take 1000 from your bank.
Re: Need deposit and withdraw command -
Admigo - 07.11.2011
Yeah i know that,but in this script there is a bug if you enter /deposit -1000 i get 1000 dollar.
Re: Need deposit and withdraw command -
Infinity - 07.11.2011
Quote:
Originally Posted by admigo
Yeah i know that,but in this script there is a bug if you enter /deposit -1000 i get 1000 dollar.
|
Then you add a check to see whether the number entered is higher (or equal to, but in this situation I'd prefer higher only) than 0.
Re: Need deposit and withdraw command -
Admigo - 07.11.2011
OMG! Thanks you so much! Fixed:P