Hats Mod 
58 comments ===
Hats Mod
===
Small mod by RyceR
Here is commands:
!phoenix
!corner
!helmet
!spikes
!tyrans
!nohat
Have Fun



Here is commands:
!phoenix
!corner
!helmet
!spikes
!tyrans
!nohat
Have Fun

edited 1×, last 27.09.10 08:30:14 pm

Comments
58 commentsLog in!
You need to log in to be able to write comments!Log in

Idea 4/4
rare 0/1
bugs 1/1
gfx-sfx 2/2
commands 1/2
Could add/fix:
F2/F3/F4 - choose whitch hat by clicking
No see mesagges after typing e.g !corner
RATING:
(4+0+1+2+1):2 = 4
but i think it could get +1 couse i use it
soo = 4.5
rare 0/1
bugs 1/1
gfx-sfx 2/2
commands 1/2
Could add/fix:
F2/F3/F4 - choose whitch hat by clicking
No see mesagges after typing e.g !corner
RATING:
(4+0+1+2+1):2 = 4
but i think it could get +1 couse i use it

soo = 4.5

does it remove hat on command !nohat ?
It seems to have a problem somewhere at:
if (txt=="!nohat") then
freeimage(id)
id1=image("gfx/hats/nohat.bmp",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
end
Like it doesnt remove pls help.
It seems to have a problem somewhere at:
if (txt=="!nohat") then
freeimage(id)
id1=image("gfx/hats/nohat.bmp",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
end
Like it doesnt remove pls help.
You know you can edit this by doing some edit I edited it but its kinda scraby ill be posting it soon
Ive seen an Menu Like this in an server

Code:
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
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
menunf = 1 -- Set 0 if you dont want the script
addhook("serveraction","hatmod_action")
function hatmod_action(id,b)
if (b==1 and menunf==1) then
menu(id,"Hat Mod,Helmet,Spikes,Phoenix,Wings,Tyrans,Remove Hat")
elseif (b==1 and menunf==0) then
msg2(id,"The script isnt on")
end
end
end
addhook("menu","hatmod_menu")
function hatmod_menu(id,menu,sel)
if menu=="Hat Mod" then
if sel==1 then
freeimage(id)
id1=image("gfx/hats/helmet.bmp",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got an Helmet")
elseif sel==2 then
freeimage(id)
id1=image("gfx/hats/spikes.png",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got Spikes")
elseif sel==3 then
freeimage(id)
id1=image("gfx/hats/phoenix.png",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got an Phoenix")
elseif sel==4 then
freeimage(id)
id1=image("gfx/hats/wing5.png",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got Wings")
elseif sel==5 then
freeimage(id)
id1=image("gfx/hats/tyrans.png",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got Tyrans")
elseif sel==6 then
freeimage(id)
msg2(id,"Youve removed the hat")
end
end
end
addhook("die","hatmod_die")
function hatmod_die(id)
freeimage(id)
msg2(id,"Youve lost your hat")
end
addhook("serveraction","hatmod_action")
function hatmod_action(id,b)
if (b==1 and menunf==1) then
menu(id,"Hat Mod,Helmet,Spikes,Phoenix,Wings,Tyrans,Remove Hat")
elseif (b==1 and menunf==0) then
msg2(id,"The script isnt on")
end
end
end
addhook("menu","hatmod_menu")
function hatmod_menu(id,menu,sel)
if menu=="Hat Mod" then
if sel==1 then
freeimage(id)
id1=image("gfx/hats/helmet.bmp",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got an Helmet")
elseif sel==2 then
freeimage(id)
id1=image("gfx/hats/spikes.png",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got Spikes")
elseif sel==3 then
freeimage(id)
id1=image("gfx/hats/phoenix.png",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got an Phoenix")
elseif sel==4 then
freeimage(id)
id1=image("gfx/hats/wing5.png",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got Wings")
elseif sel==5 then
freeimage(id)
id1=image("gfx/hats/tyrans.png",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
msg2(id,"Youve got Tyrans")
elseif sel==6 then
freeimage(id)
msg2(id,"Youve removed the hat")
end
end
end
addhook("die","hatmod_die")
function hatmod_die(id)
freeimage(id)
msg2(id,"Youve lost your hat")
end
edited 1×, last 18.07.10 02:34:37 pm

K-tronic, I make scripts more difficult than this and I don't want to spend my time on the jar.