Files

> > CS2D > Lua Scripts > (LASER)Akim and FN_Nemesis upload
Files overviewCS2D overviewLua Scripts overview

English (LASER)Akim and FN_Nemesis upload >

6 comments65 kb, 652 Downloads

old (LASER)Akim and FN_Nemesis upload

Ak1M
User Off Offline

So, yes ... NF_nemesis finally gave me permission
to rework the laser mod.
command:
! Light
! Red
! Yellow
! Blue
! White
! Green
! Pro
! Dm

Probably forgot about some
No matter. Have fun! And good aim!
Approved by GeoB99

Download Download

65 kb, 652 Downloads

Comments

6 comments
To the start Previous 1 Next To the start

Log in!

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

old

Sw1ft
User Off Offline

used in say:
!Light
!Red
!Yellow
!Blue
!White
!Green
!Pro
!Dm
I like script!
I like it!

old

J4x
User Off Offline

i like the laser they are very good, yellow bana u r acting like a kid u dint have to presume, if u need 24 lines it dosent matter us!
I like it!

old

Ak1M
User Off Offline

My idea but I was not the first

old

RyceR
User Off Offline

@YellowBanana hmmm... you are good scripter but Akim is newbie. good at first sscript but not original idea. 3/5
I like it!

old

Ak1M
User Off Offline

I know but I'm not good at scripting.

old

YellowBanana
BANNED Off Offline

You need 296 lines for what I need in 24 lines:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
imgpath = "gfx/akimgfx/laserakim.bmp"
COLOR = { [ '!red'] = {255,0,0},['!pink'] ={255,0,255},['!green']={0,255,0},['!blue']={0,0,255},['!yellow'] = {255,122,0},['!white'] = {255,255,255}}
addhook("say","my_say")
function my_say(id,txt)
	if(string.sub(txt,1,1)=='!') then
		if(txt == '!off') then
			freeimage(id)				
		elseif(txt == '!dm' or txt == '!pro') then
			freeimage(id)
			id1 = image("gfx/akimgfx/"..string.sub(txt,2,-1)..".bmp",1,1,200+id)
			imageblend(id,1)
			imagealpha(id,0.5)
			imagecolor(id1,255,255,255)
		end
		if(COLOR[txt] ~= nil) then    
			freeimage(id)
			id1=image(imgpath,1,1,200+id)  								
			imageblend(id,1)								
			imagealpha(id,0.5)
			local clr = COLOR[txt]
			imagecolor(id1,clr[1],clr[2],clr[3])			
		end		
	end
end
To the start Previous 1 Next To the start