Need deposit and withdraw command
#1

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
Reply
#2

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
Reply
#3

pawn Код:
If you want help in script pm me
Reply
#4

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
This FS is not with dialogs, maybe it will help you
http://forum.sa-mp.com/showthread.ph...ht=bank+system
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?
Reply
#5

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.
Reply
#6

Yeah i know that,but in this script there is a bug if you enter /deposit -1000 i get 1000 dollar.
Reply
#7

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.
Reply
#8

OMG! Thanks you so much! Fixed:P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)