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
--[[
Waffen Skript by Skripter5000 für Apf3l
Probleme? Schreibe eine Nachricht an Skripter5000
Nur Deutsch! (Benutze NIEMALS einen Übersetzer)
]]--
IDs = {"0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0",}
addhook("join",myjoin")
function myjoin(id)
	my_spawn_menu(id)
end
addhook("spawn","spawnmenu")
function spawnmenu(id)
	parse("setarmor "..id.." 100")
	return IDs[id],IDs[id+12],IDs[id+24],51
end
function Special(id,action)
	if action == 1 then
		my_spawn_menu(id)
	elseif action == 2 then
		parse("equip "..id.." "..IDs[id])
		parse("equip "..id.." "..IDs[id+12])
		parse("equip "..id.." "..IDs[id+24)
		parse("equip "..id.." 51")
	end
end
function my_spawn_menu(id)
	menu(id,"Weapons,Rifles,Pistols,Sub Machine Guns")
end
funcion my_rifles_menu(id)
	menu(id,"Rifles,M4A1,AK-47,Galil,Famas,AUG,SG550,Scout")
end
function my_pistols_menu(id)
	menu(id,"Pistols,Deagle,Fiveseven,Glock,USP,P228,Elite")
end
function my_sub_machine_gun_menu(id)
	menu(id,"Sub Machine Guns,P90,TMP,MAC 10,UMO 45,MP5|MY FAVOURITE!!!")
end
addhook("menu","mymenu")
function mymenu(id,t,b)
	if t=="Weapons" then
		if b==1 then
			my_rifles_menu(id)
		elseif b==2 then
			my_pistols_menu(id)
		elseif b==3 then
			my_sub_machine_gun_menu(id)
		end
	end
	if t=="Rifles" then
		if b == 1 then
			IDs[ID] = 32
			parse("equip "..id.." 32")
		elseif b == 2 then
			IDs[ID] = 30
			parse("equip "..id.." 30")
		elseif b == 3 then
			IDs[ID] = 38
			parse("equip "..id.." 38")
		elseif b == 4 then
			IDs[ID] = 39
			parse("equip "..id.." 39")
		elseif b == 5 then
			IDs[ID] = 33
			parse("equip "..id.." 33")
		elseif b == 6 then
			IDs[ID] = 37
			parse("equip "..id.." 37")
		elseif b == 7 then
			IDs[ID] = 34
			parse("equip "..id.." 34")
		end
	elseif t=="Pistols" then
		if b == 1 then
			IDs[ID+12] = 3
			parse("equip "..id.." 3")
		elseif b == 2 then
			IDs[ID+12] = 6
			parse("equip "..id.." 6")
		elseif b == 3 then
			IDs[ID+12] = 2
			parse("equip "..id.." 2")
		elseif b == 4 then
			IDs[ID+12] = 1
			parse("equip "..id.." 1")
		elseif b == 5 then
			IDs[ID+12] = 4
			parse("equip "..id.." 4")
		elseif b == 6 then
			IDs[ID+12] = 5
			parse("equip "..id.." 5")
		end
	elseif t=="Sub Machine Guns" then
		if b == 1 then
			IDs[ID+24] = 22
			parse("equip "..id.." 22")
		elseif b == 2 then
			IDs[ID+24] = 21
			parse("equip "..id.." 21")
		elseif b == 3 then
			IDs[ID+24] = 23
			parse("equip "..id.." 23")
		elseif b == 4 then
			IDs[ID+24] = 24
			parse("equip "..id.." 24")
		elseif b == 5 then
			IDs[ID+24] = 20
			parse("equip "..id.." 20")
		end
end