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
if men == "Drop System" then
if sel == 1 then
if rp_money[id]>= 100 then
parse("spawnitem 66 "..x.." "..y)
rp_money[id]=rp_money[id]-100
else
nmn(id)
end
elseif sel == 2 then
if rp_money[id]>= 500 then
for i = 1,5 do
parse("spawnitem 66 "..x.." "..y)
rp_money[id]=rp_money[id]-500
else
nmn(id)
end
elseif sel == 3 then
if rp_money[id]>= 1000 then
parse("spawnitem 67 "..x.." "..y)
rp_money[id]=rp_money[id]-1000
else
nmn(id)
end
elseif sel == 4 then
if rp_money[id]>= 5000 then
for i = 1,5 do
parse("spawnitem 67 "..x.." "..y)
rp_money[id]=rp_money[id]-5000
end
else
nmn(id)
end
elseif sel == 5 then
if rp_money[id]>= 10000 then
parse("spawnitem 68 "..x.." "..y)
rp_money[id]=rp_money[id]-10000
end
else
nmn(id)
end
elseif sel == 6 then
if rp_money[id]>= 50000 then
for i = 1,5 do
parse("spawnitem 68 "..x.." "..y)
rp_money[id]=rp_money[id]-50000
end
else
nmn(id)
end
elseif sel == 7 then
if rp_money[id]>= 100000 then
parse("spawnitem 56 "..x.." "..y)
rp_money[id]=rp_money[id]-100000
end
else
nmn(id)
end
elseif sel == 8 then
if rp_license[id]==0 then
if rp_money[id]>= 100000 then
rp_license[id]=1
rp_money[id]=rp_money[id]-100000
rp_msg2(id,"000255000","You have license now!")
else
nmn(id)
end
else
rp_msg2(id,"255000000","You have license already!")
end
elseif sel == 9 then
CreateAddonsSell(id)
end
end
updatehud(id)
end