View difference between Paste ID: 3BWsQ5AL and sW4G8tkA
SHOW: | | - or go back to the newest paste.
1
if CLIENT then
2
3
	killicon.Add( "weapon_usp", "HUD/killicons/weapon_usp", Color ( 255, 255, 0, 255 ) )
4
5-
	function SWEP:DrawHud()
5+
	function SWEP:DrawHUD()
6
		if self.Owner:KeyDown(IN_ATTACK2) then
7
			surface.SetDrawColor( 255, 255, 255, 255 )
8
			surface.SetMaterial( Material( "scope_reddot" ) )
9-
			surface.DrawTexturedRect( 0, 0, ScrW(), ScrH() )
9+
			surface.DrawTexturedRect( ScrH()/2 - ScrH()/4, 0, ScrH(), ScrH() )
10
		end
11
	end
12
13
end