Files

> > CS2D > Lua Scripts > Hats Mod
Files overviewCS2D overviewLua Scripts overview

English Hats Mod >

58 comments4 kb, 3,071 Downloads

old Hats Mod

RyceR
User Off Offline

===> Hats Mod <===
> Small mod by RyceR
Here is commands:
!phoenix
!corner
!helmet
!spikes
!tyrans
!nohat

Have Fun
edited 1×, last 27.09.10 08:30:14 pm
Approved by Yates

Download Download

4 kb, 3,071 Downloads

Comments

58 comments
Page
To the start Previous 1 2 3 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

PbBOKAN
User Off Offline

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
I like it!

old

Leiche
Moderator Off Offline

clearly needs more hats.
I like it!

old

maPmaKer
User Off Offline

Lol really good. Next time add more hats or make a "Hats Mod V2"
I like it!

old

PbBOKAN
User Off Offline

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.
I like it!

old

Xej
User Off Offline

Pretty Nice and Simple Script, i like it
I like it!

old

WolfyCrisis
User Off Offline

this script pretty good! :3
I like it!

old

Slayer
User Off Offline

You know you can edit this by doing some edit I edited it but its kinda scraby ill be posting it soon

old

RyceR
User Off Offline

Thx all new version incaming

old

awcmon
User Off Offline

Nice.
I like it!

old

HaRe
User Off Offline

Ive seen an Menu Like this in an server

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
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
edited 1×, last 18.07.10 02:34:37 pm

old

Anti
User Off Offline

-.-" Very low...
I like it!

old

Cliffe_Snake
User Off Offline

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

old

K-tronic
User Off Offline

Cliffe_Snake has written
MORE HATS PLEASE!!!

make them yourself and edit the luascript (it should be easy, just change the text which should be said for a hat and the filedirectory of it)
nice lua, but I think some hats aren't made by yourself
I like it!

old

Cliffe_Snake
User Off Offline

MORE HATS PLEASE!!!
I like it!

old

HaRe
User Off Offline

This script was in cs 1.6 first

But cool to see it in cs2d

old

SiP_
User Off Offline

cool
I like it!

old

palomino
User Off Offline

It is good
I like it!
To the start Previous 1 2 3 Next To the start