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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
function moneymenu(id)
local a100
local a500
local a1000
local a5000
local a10000
local a25000
local a50000
local licensed
local housed
if players[id].money>=50000 then
a50000 = "Drop 50000$|50K$"
a25000 = "Drop 25000$|25K$"
a10000 = "Drop 10000$|10K$"
a5000 = "Drop 5000$|5K$"
a1000 = "Drop 1000$|1K$"
a500 = "Drop 500$|0.5K$"
a100 = "Drop 100$|0.1K$"
elseif players[id].money<50000 then
a50000 = "(Drop 50000$|50K$)"
a25000 = "Drop 25000$|25K$"
a10000 = "Drop 10000$|10K$"
a5000 = "Drop 5000$|5K$"
a1000 = "Drop 1000$|1K$"
a500 = "Drop 500$|0.5K$"
a100 = "Drop 100$|0.1K$"
elseif players[id].money<25000 then
a50000 = "(Drop 50000$|50K$)"
a25000 = "(Drop 25000$|25K$)"
a10000 = "Drop 10000$|10K$"
a5000 = "Drop 5000$|5K$"
a1000 = "Drop 1000$|1K$"
a500 = "Drop 500$|0.5K$"
a100 = "Drop 100$|0.1K$"
elseif players[id].money<10000 then
a50000 = "(Drop 50000$|50K$)"
a25000 = "(Drop 25000$|25K$)"
a10000 = "(Drop 10000$|10K$)"
a5000 = "Drop 5000$|5K$"
a1000 = "Drop 1000$|1K$"
a500 = "Drop 500$|0.5K$"
a100 = "Drop 100$|0.1K$"
elseif players[id].money<5000 then
a50000 = "(Drop 50000$|50K$)"
a25000 = "(Drop 25000$|25K$)"
a10000 = "(Drop 10000$|10K$)"
a5000 = "(Drop 5000$|5K$)"
a1000 = "Drop 1000$|1K$"
a500 = "Drop 500$|0.5K$"
a100 = "Drop 100$|0.1K$"
elseif players[id].money<1000 then
a50000 = "(Drop 50000$|50K$)"
a25000 = "(Drop 25000$|25K$)"
a10000 = "(Drop 10000$|10K$)"
a5000 = "(Drop 5000$|5K$)"
a1000 = "(Drop 1000$|1K$)"
a500 = "Drop 500$|0.5K$"
a100 = "Drop 100$|0.1K$"
elseif players[id].money<500 then
a50000 = "(Drop 50000$|50K$)"
a25000 = "(Drop 25000$|25K$)"
a10000 = "(Drop 10000$|10K$)"
a5000 = "(Drop 5000$|5K$)"
a1000 = "(Drop 1000$|1K$)"
a500 = "(Drop 500$|0.5K$)"
a100 = "Drop 100$|0.1K$"
elseif players[id].money<100 then
a50000 = "(Drop 50000$|50K$)"
a25000 = "(Drop 25000$|25K$)"
a10000 = "(Drop 10000$|10K$)"
a5000 = "(Drop 5000$|5K$)"
a1000 = "(Drop 1000$|1K$)"
a500 = "(Drop 500$|0.5K$)"
a100 = "(Drop 100$|0.1K$)"
end
if players[id].license==0 then
if players[id].money>=175000 then
licensed = "Buy license-175000$|175K$"
else licensed = "(Not enough money|175K$)"
end
elseif players[id].license==1 then
licensed = "(License bought|F3 to use.)"
end
if players[id].house==0 then
housed = "(No house yet)"
elseif players[id].house<0 then
housed = "Control the home|St:0,N:0"
end
menu(id,"Local menu,"..a100..","..a500..","..a1000..","..a5000..","..a10000..","..a25000..","..a50000..","..licensed..","..housed.."")
end