Forum

> > CS2D > Scripts > F - hat mod
Forums overviewCS2D overview Scripts overviewLog in to reply

English F - hat mod

6 replies
To the start Previous 1 Next To the start

old F - hat mod

DarkNeko
User Off Offline

Quote
can you help me for make this F-hat mod
problem : I have choose hat and in next round the hats is gone,can you help me

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
------------------------------
--By Fathurstern			--
------------------------------

addhook("say","save_say")
function save_say(id,txt)
if (txt=="!hats") or (txt=="!Hats") or (txt=="!HATS") then
menu(id,"Hats,black|beret,blue|beret,green|beret,maroon|beret,scarlet|beret,tan|beret,cap|yellow,No Hat,Next >>|[More]")
return
	end
end

addhook("menu","save_menu")
function save_menu(id,title,buton,spawn)
	if title == "Hats" then
		if buton == 1 then
		freeimage(id)
		id1=image("gfx/fathur/green_beret.png",1,1,200+id)
		imagealpha(id1,1.0)
		
		elseif buton == 2 then
		freeimage(id)
		id1=image("gfx/fathur/blue_beret.png",1,1,200+id) 
		imagealpha(id1,1.0)

		elseif buton == 3 then
		freeimage(id)
		id1=image("gfx/fathur/green_beret.png",1,1,200+id)
		imagealpha(id1,1.0)

		elseif buton == 4 then
		freeimage(id)
		id1=image("gfx/fathur/maroon_beret.png",1,1,200+id)
		imagealpha(id1,1.0)

		elseif buton == 5 then
		freeimage(id)
		id1=image("gfx/fathur/scarlet_beret.png",1,1,200+id)
		imagealpha(id1,1.0)

		elseif buton == 6 then
		freeimage(id)
		id1=image("gfx/fathur/tan_beret.png",1,1,200+id)
		imagealpha(id1,1.0)

		elseif buton == 7 then
		freeimage(id)
		id1=image("gfx/fathur/gold_cap.png",1,1,200+id)
		imagealpha(id1,1.0)

		elseif buton == 8 then
		freeimage(id)
		imagealpha(id1,1.0)

		elseif buton == 9 then
		menu(id,"Hats2,none,none,none,none,none,none,none,<< Back| [previous],Next >>|[More]")
             end
      end
	if title == "Hats2" then
		if buton == 1 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 2 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 3 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 4 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 5 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 6 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 7 then
		freeimage(id)
		imagealpha(id1,1.0)
		elseif buton == 8 then
		freeimage(id)
		imagealpha(id1,1.0)
		end
	end
end

addhook("spawn","bott")
function bott(id)
if player(id,"bot")==true then
freeimage(id)
d1=image("gfx/fathur/black_beret.png",1,1,200+id)
imagealpha(id1,1.0)
	end
end
help me please or give me the code
edited 1×, last 14.05.14 02:17:38 pm

Admin/mod comment

Rules §2.4 - Use tags sparingly and only when they add value Fixed it for you /RM

old Re: F - hat mod

AlcatrazZ
BANNED Off Offline

Quote
It made on android then it can have some bugs.
Code >
edited 3×, last 14.05.14 03:53:34 pm

old Re: F - hat mod

DarkNeko
User Off Offline

Quote
yes i serios but i will be write the support(that you)
when i done

old Work

AlcatrazZ
BANNED Off Offline

Quote
The fixed code >
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview