English Bank icon

40 comments
07.01.10 02:32:21 am
like 23 like it!
730 b, 1,131 Downloads
Deatherr
User
Offline Off
This lua allows you to have a bank in your server!
Press [F2],[F3],or [F4] to open up the bank.
You can put in : $100,$500,$1000,$5000
This lua is useful for Town maps.
imageimageimage
ok This file has been reviewed and approved by Seekay (08.12.15 10:06:06 pm)

Comments

40 comments
Goto Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in
18.05.14 09:39:16 am
like I like it!
Up
Sparty
Reviewer
Offline Off
This could help my News inc.
17.05.14 04:55:18 pm
like I like it!
Up
Ashley
BANNED
Offline Off
deposit or withdraw

deposit (get money from bank)
withdraw (add cash to the bank )
but nice

you made something that every erver have !
26.04.13 10:12:22 am
Up
Joni And Friends
User
Offline Off
how if [f2], [f3], or [f4] at change with words ?

Go to www.unrealsoftware.de/files_show.php?file=14405 , have save bank
edited 1×, last 27.09.13 02:06:25 pm
21.02.13 05:10:18 pm
Up
keymo
User
Offline Off
when i make 500 to bank i have make 20 to bank
01.10.12 11:14:16 am
Up
hundesohn
User
Offline Off
i dont like this script dont safe the money but good idea
29.04.12 01:26:13 pm
Up
Misho
User
Offline Off
> When you put 10 it puts 1
> When you put 50 it puts 5
> When you put 100 it puts 10
> When you put 200 it puts 20
And this is not so good.
So i saw what was the bug.
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
addhook("join","bank_join")
addhook("menu","bank_menu")
addhook("serveraction","bank_serveraction")

function array(m)
     local array = {}
     for i = 1, m do
          array[i] = 0
     end
     return array
end

bank_money_player = array(32)
bank_table = {100,500,1000,2000}

function bank_join(p)
     bank_money_player[p] = 0
end

function bank_serveraction(p)
     menu(p,"Bank Menu (Your Cash: "..bank_money_player[p].."),Add Cash To Bank,Take Cash From Bank")
end

function bank_cash_add(p)
     menu(p,"Add Cash To Bank? (Bank: "..bank_money_player[p].."),$100,$500,$1000,$5000")
end

function bank_cash_take(p)
     menu(p,"Take Cash From Bank? (Bank: "..bank_money_player[p].."),$100,$500,$1000,$5000")
end

function bank_menu(p,t,s)
     if ("Bank Menu" == string.sub(t, 1, 9)) then
          if (s == 1) then
               bank_cash_add(p)
          elseif (s == 2) then
               bank_cash_take(p)
          end
     end
     
     if ("Add" == string.sub(t, 1, 3)) then
          if (bank_table[s] < player(p,"money")) then
               bank_money_player[p] = bank_money_player[p] + bank_table[s]
               parse('setmoney '..p..' '..player(p,"money") - bank_table[s])
               msg2(p,'©000255000You Added '..bank_table[s]..'$ To Bank!@C')
               bank_cash_add(p)
          else
               msg2(p,'©255000000You Added '..player(p,"money")..'$ To Bank!@C')
               msg2(p,'©255000000You Dont Have More Money To Add!@C')
               bank_money_player[p] = bank_money_player[p] + player(p,"money")
               parse('setmoney '..p..' 0')
          end
     end

     if ("Take" == string.sub(t, 1, 4)) then
          if (bank_money_player[p] > 0) then
               if (player(p,"money") + bank_table[s] < 16000) then
                    bank_money_player[p] = bank_money_player[p] - bank_table[s]
                    parse('setmoney '..p..' '..player(p,"money") + bank_table[s])
                    msg2(p,'©000255000You Took '..bank_table[s]..'$ From Bank!@C')
                    bank_cash_take(p)
               else
                    msg2(p,'©255000000You Cant Have More Than 16000$ In Hand!@C')
               end
          else
               msg2(p,'©255000000Your Bank Is Empty!@C')
          end
     end
end

I think now it's better.
28.04.12 11:26:35 pm
like I like it!
Up
MarceloMagic
User
Offline Off
√ Blz Show De Bola
28.04.12 09:58:24 pm
like I like it!
Up
Powermonger
User
Offline Off
Nice lua, allready using it in my server
Can you make a money save feature? Like, when I save money to bank and disconnect, I can still have that money. It could save money, for any player with U.S.G.N. account.
I know how to make and edit lua scripts, but I am not very good, I need more practice : /
12.08.10 07:33:27 pm
Up
Marijuana
User
Offline Off
Terrible.
12.08.10 07:17:13 pm
Up
Eliasputtini
User
Offline Off
shit lua
24.07.10 09:31:38 am
like I like it!
Up
Sudden Death
User
Offline Off
n/c i try to make that in 2 hours and here what i see? i can download it
edited 1×, last 16.07.11 06:05:00 pm
23.07.10 05:39:42 pm
like I like it!
Up
OlaFPhp
User
Offline Off
I AGREE ON RATTLE2X
21.07.10 01:05:27 am
Up
Deatherr
User
Offline Off
Isn't F2,F3,F4 server actions ?
20.07.10 01:40:14 pm
Up
HaRe
User
Offline Off
What are you talking about Rattle omg

F2, F3 and F4 are custom keys that u can use

F5 is Screenshoot
F6, F7 arent anything
20.07.10 01:38:02 pm
Up
Rattle_rattle
User
Offline Off
Please Change the F2, F3 and F4 to F5, F6 and F7. These Keys already Exist. Please Change.
19.07.10 12:15:20 pm
like I like it!
Up
connor34
User
Offline Off
Every body shut up i will rate 4/5 its not your problem okay?
19.06.10 12:41:35 am
like I like it!
Up
archmage
User
Offline Off
@Lightning:
Sometimes simpler things are greater than complex things.
So what it is still a good script. He did not upload it to show how hard it was to write, but so people could enjoy it. People unlike you that are jealous and have probably never written in any programming/scripting language. You do not have any uploads so unlike this "easy" script it is probably too hard for you.

Let me tell you something that you obviously do not know. Rate on how well you liked it. Otherwise stfu and don't rate.
Since you are so good write this script in a completely different way (maybe in a different language) and add every thing the post 4 below mine wants. Then upload.
18.06.10 09:51:20 pm
like I like it!
Up
awcmon
User
Offline Off
Good but i want SAVE and to put MORE cash!
17.06.10 12:00:28 am
Up
Marijuana
User
Offline Off
It's good. I've been looking for one of these. Lacks the ability to save the amount of money you have. 3 / 5
02.06.10 12:49:09 pm
like I like it!
Up
GunShoot
COMMUNITY BANNED
Offline Off
wait can u make autosave
To the start Previous 1 2 Next To the start