Forum

> > CS2D > Scripts > please heellpp my little script
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch please heellpp my little script

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt please heellpp my little script

dxvrxv
User Off Offline

Zitieren
when i chose the human class and chose soldier i didn't get any weapons nor did the other classes

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
addhook("serveraction","_serveraction")
function _serveraction(id,act)
	if act == 1 then
	menu(id,"Zombie Elite, Zombie Class, Human Class")
	end
end

addhook("menu","_menu")
function _menu(id,title,but)

	if (title=="Zombie Elite") then
	if(but==1) then
	menu(id,"Zombie Class, Nemesis, Zombie")
	end

	if(but==2) then
	menu(id,"Human Class, Police, Soldier")
	end

	if (title=="Zombie Class") then
	if(but==1) then
	parse ("equip "..id.." 86")
	end

	if(but==2) then
	parse ("equip "..id.." 86")
	end

	if (title=="Human Class") then
	if(but==1) then
	parse ("equip "..id.." 32")
	end

	if(but==2) then
	parse ("equip "..id.." 33")
	end
end
end
end
end

alt Re: please heellpp my little script

Cebra
User Off Offline

Zitieren
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
-- untested
addhook("serveraction","_serveraction")
function _serveraction(id,act)
	if act == 1 then
		menu(id,"Zombie Elite, Zombie Class, Human Class")
	end
end

addhook("menu","_menu")
function _menu(id,title,but)
	if (title=="Zombie Elite") then
		if (but==1) then
			menu(id,"Zombie Class, Nemesis, Zombie")
		elseif (but==2) then
			menu(id,"Human Class, Police, Soldier")
		end
	elseif (title=="Zombie Class") then
		if(but==1) then
			parse ("equip "..id.." 86")
		elseif(but==2) then
			parse ("equip "..id.." 86")
		end
	elseif (title=="Human Class") then
		if(but==1) then
			parse ("equip "..id.." 32")
		elseif(but==2) then
			parse ("equip "..id.." 33")
		end
	end
end
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht