English mvp shop for hc

4 replies
Goto Page
To the start Previous 1 Next To the start
20.01.20 10:30:54 pm
Up
Hazard_h
User
Offline Off
Welcome to my new topic, then let's start
I have after problems
I want to combine a mvp shop on hc Shows a checkbox in command or F2 So that I can buy that
Can someone please me, i know somebody know how like Goo and slowpoke

This is code
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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
ms={}

addhook("serveraction","mvpshop")
function mvpshop(id,f)
  if f == 2 then
    parse("msg F3 pressed")
    ms.shopa(id)
  end
end


----------------------
-- Items Of Shop --
----------------------
function ms.shopa(id)
     menu(id,"Normal Shop,Flare|9,Snow balls 5x|8,Light Armor|10,Rocket Laucher|12,M134|6,Shield|15,FN F2000|5,Scatel Charges|6,Next|>>>")
end

function shop2(id)
menu(id,"Higher Shop,Armor|17,Wrench|20,Motive Cocktail|7,RPG|13,,,,,<<< Previous|<<<")
end

--[[function shop3(id)
menu(id,"Advanced Shop,Rocket Laucher|5,FN F2000|4,Medic Armor|12,Scatel Charges|5,Gut bomb|6,Wrench|8,Motive Cocktail|4,Previous|<<<,Next|>>>")
end

function shop4(id)
menu(id,"Legends Shop,25 hp +|5,50 hp +|7,100 hp +|10,,,,,Previous|<<<,<<< First|<<<")
end]]--

----------------------
-- Shop func's      --
----------------------
addhook("menu","ms.buy")
function ms.buy(id,title,sel)
     
     if title == "Normal Shop" then     
          
          if sel == 1 then
               if player(id,"mvp")>=9 then
                    parse("equip "..id.." 54")
                    hc.warn(id,"You have bought Turret Flare!")
                    parse("setmvp "..id.." "..player(id,"mvp")-2)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
          end
          
          if sel == 2 then
               if player(id,"mvp")>=8 then
                    parse("equip "..id.." 75")
                    hc.warn(id,"You have bought Snow balls to Shake players!")
                    parse("setmvp "..id.." "..player(id,"mvp")-7)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
          end
          
          if sel == 3 then
               if player(id,"mvp")>=10 then
                    parse("equip "..id.." 79")
                    hc.warn(id,"You have bought Light Armor!")
                    parse("setmvp "..id.." "..player(id,"mvp")-5)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
          end
          
          if sel == 4 then
               if player(id,"mvp")>=12 then
                    parse("equip "..id.." 48")
                    hc.warn(id,"You have bought Rocket Laucher!")
                    parse("setmvp "..id.." "..player(id,"mvp")-5)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
          end
          
          if sel == 5 then
               if player(id,"mvp")>=6 then
                    parse("equip "..id.." 90")
                    hc.warn(id,"You have bought M134!")
                    parse("setmvp "..id.." "..player(id,"mvp")-6)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
            end
            
         if sel == 6 then
               if player(id,"mvp")>=15 then
                    parse("equip "..id.." 41")
                    hc.warn(id,"You have bought Sheild!")
                    parse("setmvp "..id.." "..player(id,"mvp")-15)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
            end
         
          if sel == 7 then
               if player(id,"mvp")>=5 then
                    parse("equip "..id.." 91")
                    hc.warn(id,"You have bought FN F2000!")
                    parse("setmvp "..id.." "..player(id,"mvp")-4)
               else
                    hc.error(id,"You have insufficient stars!")
               end
          end
         
          if sel == 8 then
               if player(id,"mvp")>=6 then
                    parse("equip "..id.." 89")
                    hc.warn(id,"You have bought Scated Charges!")
                    parse("setmvp "..id.." "..player(id,"mvp")-5)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
          end
         
           if sel == 9 then
           shop2(id)      ---------------------------- Page to Higher Shop
            end
        
         elseif title == "Higher Shop" then     
          
          if sel == 1 then
               if player(id,"mvp")>=17 then
                    parse("equip "..id.." 80")
                    hc.warn(id,"You have bought Armor!")
                    parse("setmvp "..id.." "..player(id,"mvp")-5)
               else
                    hc.error(id,"You have insufficient stars!")
               end
          end
          
           if sel == 2 then
               if player(id,"mvp")>=20 then
                    parse("equip "..id.." 74")
                    hc.warn(id,"You have bought Wrench!")
                    parse("setmvp "..id.." "..player(id,"mvp")-8)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
            end
         if sel == 3 then
               if player(id,"mvp")>=7 then
                    parse("equip "..id.." 73")
                    hc.warn(id,"You have bought Motive Cocktail!")
                    parse("setmvp "..id.." "..player(id,"mvp")-4)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
            end
          
           if sel == 4 then
               if player(id,"mvp")>=13 then
                    parse("equip "..id.." 47")
                    hc.warn(id,"You have bought RPG!")
                    parse("setmvp "..id.." "..player(id,"mvp")-6)
               else
                    hc.error(id,"You have insufficient mvp stars!")
               end
            end
          
         if sel == 9 then
           ms.shopa(id)      ---------------------------- Page to Advanced Shop
           end
     end
end
21.01.20 12:58:54 pm
Up
Goo
User
Offline Off
I'm both Goo and SlowPoke...
21.01.20 01:40:42 pm
Up
haha1955
User
Offline Off
@user Goo: hahah
22.01.20 06:01:38 am
Up
Man Of Steel
User
Offline Off
It seems same like mine

who gave this code to you ?

btw you want something like this, am i right?

https://ibb.co/ChVByb0
FRiendly boYy.
Up
lizahaydon
User
Offline Off
Get the assignment solution for the Target And Positioning Marketing topic. If you are facing any difficulty in making your Target And Positioning Marketing coursework as we recognize a major number of students find it tough to make their STP assignment due to inadequate knowledge of marketing management, then you can ask our experts for targeting and positioning homework assistance.
To the start Previous 1 Next To the start