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
--==========================--
--+ Custom Shop Script V.1 +--
--+===== BY BARDECON ======+--
--==========================--
--+| Hooks Start |+--
addhook("say","open_sayShop")
addhook("menu","sayShop_menu")
addhook("menu","handguns")
addhook("say","helpCommands")
--+| Hooks End |+--
--+| Functions Start |+--
--+ Shop Menu +--
function open_sayShop(id,txt)
	if(txt=="!Shop")or(txt=="!shop")or(txt=="!pshop")or(txt=="!pShop")or(txt=="!playerShop")or(txt=="!playershop")or(txt=="!PlayerShop")then
		return 1
		menu(id,"Player Shop,Handguns,Shotguns,SubMachineguns,Rifles,Machineguns,Grenades,Gears")
	end
end
function sayShop_menu(id,title,button)
	if(title=="Player Shop")then
		if(button==1)then
			menu(id,"Handguns,USP|500$,Glock|400$,Deagle|650$,P228|600$,Elite|1000$,FiveSeven|750$")
		end
		if(button==2)then
			menu(id,"Shotguns,M3|1700$,XM1014|3000$")
		end
		if(button==3)then
			menu(id,"SubMachineguns,MP5|1500$,TMP|1250$,P90|2350,Mac 10|1400$,UMP45|1700$")
		end
		if(button==4)then
			menu(id,"Rifles,AK47|2500$,SG552|3500$,M4A1|3100$,Aug|3500$,Scout|2750$,Awp|4700$,G3SG1|5000$,SG550|4200$,Galil|2000$,Famas|2250$")
		end
		if(button==5)then
			menu(id,"Machineguns,M249|5750$,M134|3500$")
		end
		if(button==6)then
			menu(id,"Grenades,HE|300$,Flashbang|200$,Smoke Grenade|300$,Gas Grenade|300$,Molotov Cocktail|300$,Air Strike|500$")
		end
		if(button==7)then
			menu(id,"Gears,Kevlar|650$,Kevlar+Helm|1000$,Night Vision|1250$,Gas Mask|250$,Portal Gun|10000$,Satchel Charge|300$")
		end
	end
end
function handguns(id,txt,button)
	if(title=="Handguns")then
		if(button==1)then
			if(player(id,"money")>=500)then
				parse("equip "..id.." usp")
				parse("setmoney "..id.." "..player(id,"money")-500)
			else
				msg2(id,"150000000You dont have enought money!!!")
			end
			
		elseif(button==2)then
			if(player(id,"money")>=400)then
					parse("equip "..id.." glock")
					parse("setmoney "..id.." "..player(id,"money")-400)
				else
					msg2(id,"150000000You dont have enought money!!!")
				end
			
		elseif(button==3)then
			if(player(id,"money")>=650)then
					parse("equip "..id.." deagle")
					parse("setmoney "..id.." "..player(id,"money")-650)
			else
				msg2(id,"150000000You dont have enought money!!!")
			end
			
		elseif(button==4)then
			if(player(id,"money")>=600)then
					parse("equip "..id.." p228")
					parse("setmoney "..id.." "..player(id,"money")-600)
			else
				msg2(id,"150000000You dont have enought money!!!")
			end
			
		elseif(button==5)then
			if(player(id,"money")>=1000)then
					parse("equip "..id.." elite")
					parse("setmoney "..id.." "..player(id,"money")-1000)
			else
				msg2(id,"150000000You dont have enought money!!!")
			end
			
		elseif(button==6)then
			if(player(id,"money")>=750)then
					parse("equip "..id.." fiveseven")
					parse("setmoney "..id.." "..player(id,"money")-750)
			else
				msg2(id,"150000000You dont have enought money!!!")
			end
		end
	end
end
--+| Functions End |+--
--+| Extra Commands |+--
function helpCommand(id,txt)
	if(txt=="!help")or(txt=="!hlp")or(txt=="!Help")then
		msg2(id,"©255255000--+| Commands |+--")
		msg2(id,"©255255000!shop or !Shop --+| To Open Shop Menu... |+--")
	end
end