Bei diesem Script kann man wenn man F2 drückt sich Hats auswählen, doch kann man es ändern das man statt F2 - F4 drückt?
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
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
addhook("serveraction","lol2") function lol2(id,action) if action == 1 then 	menu(id,"Player menu,Close Menu,Hats") 	end end addhook("menu","lol3") function lol3(id,title,button) if title == "Player menu" then if button == 1 then parse ("setscore "..id.." ..0") 	parse ("setdeaths "..id.." ..0") 	elseif button == 2 then 	menu(id,"Hats,Coolhat,Santa Hat,Pumpkin,Snowman,Angel,Devil,Spear,Graduation ,Pirate Hat,Close!") end end end addhook("menu","hatmenu") function hatmenu(id,title,button) if title == "Hats" then if button == 1 then 	freeimage(id) 	id=image("gfx/Tomaz/gandalf_hat.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end if button == 2 then 	freeimage(id) 	id=image("gfx/Tomaz/santa_hat.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end if button == 3 then 	freeimage(id) 	id=image("gfx/Tomaz/pumpkin_head.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end if button == 4 then 	freeimage(id) 	id=image("gfx/Tomaz/snowman.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end if button == 5 then 	freeimage(id) 	id=image("gfx/Tomaz/angel.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end if button == 6 then 	freeimage(id) 	id=image("gfx/Tomaz/devil.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end if button == 7 then 	freeimage(id) 	id=image("gfx/Tomaz/spear.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end if button == 8 then 	freeimage(id) 	id=image("gfx/Tomaz/graduation_hat.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end if button == 9 then 	freeimage(id) 	id=image("gfx/Tomaz/pirate_hat.png",1,1,200+id) 	imagealpha(id1,1.0) 	imageblend(id,1) end end end
- File does not exist (10710)