Could anyone make a script that:





Both of the images are PNGs and are 640x480
This is gonna be included in mod of mine so if you want i'll put you in the credits...
-- add all melee stuff in huditms huditms = {} huditms[50] = 1 huditms[69] = 1 hud = {} for i = 1, 32 do hud[i] = 0 end addhook('spawn', 'AA_spawn') addhook('select', 'AA_select') function AA_hud(id, t) 	hud[id] = image('gfx/hud/CSS_'..t..'.png', 320, 240, 2, id) end function AA_spawn(id) 	local c = false 	for i = 1, #huditms do 		if huditms[i] == player(id, 'weapontype') then 			AA_hud(id, 'k') 			c = true 			break 		end 	end 	if c == false then 		AA_hud(id, 'n') 	end end function AA_select(id, type) 	freeimage(hud[id]) 	if huditms[type] == 1 then 		AA_hud(id, 'k') 	else 		AA_hud(id, 'n') 	end end
hud={} melee={50,41,69,74,78,85} addhook("startround","rofl_mao") function rofl_mao() 	for id=1,32 do 		hud[id]=image("gfx/hud/CSS_n.png",0,1,200+id,id) 	end end addhook("select","prized_potato") function prized_potato(id,weapon) 	freeimage(hud[id]) 	for _,match in pairs(melee) do 		if weapon==match then 			hud[id]=image("gfx/hud/CSS_k.png",0,1,200+id,id) 			return 		end 	end 	hud[id]=image("gfx/hud/CSS_n.png",0,1,200+id,id) end rofl_mao()
hud={} melee={50,41,69,74,78,85} addhook("startround","rofl_mao") function rofl_mao() for id=1,32 do hud[id]=image("gfx/hud/CSS_n.png",0,1,132+id,id) end end addhook("select","prized_potato") function prized_potato(id,weapon) freeimage(hud[id]) for _,match in pairs(melee) do if weapon==match then hud[id]=image("gfx/hud/CSS_k.png",0,1,132+id,id) return end end hud[id]=image("gfx/hud/CSS_n.png",0,1,132+id,id) end rofl_mao()
hud={} melee={50,41,69,74,78,85} addhook("startround","rofl_mao") function rofl_mao() for id=1,32 do hud[id]=image('gfx/hud/CSS_n.png', 320, 240, 2, id) end end addhook("select","prized_potato") function prized_potato(id,weapon) freeimage(hud[id]) for _,match in pairs(melee) do if weapon==match then hud[id]=image('gfx/hud/CSS_k.png', 320, 240, 2, id) return end end hud[id]=image('gfx/hud/CSS_n.png', 320, 240, 2, id) end rofl_mao()
[b]hud[id]=image('gfx/hud/CSS_n.png', 320, 240, 2, id)