HelpLaserSights

Posts 113 of 13 · Page 1 of 1
LaserSights
Excuse the name, it's dumb, I understand that.

Does anyone know a working code, or a code I could use to make a laser sight? Pretty much like SethHacks lasersight. If anyone has a working code that is flawless, mind helping me out? Thanks guys.
ya dud one of my kittix hacks has this,

Code:
--[[--------------------------------------------
	 Lasers
--]]--------------------------------------------
local laser = Material( "sprites/bluelaser1" )
hook.Add("RenderScreenspaceEffects", "lelelel", function()
if shouldbeam then return end


local startpos = LocalPlayer():GetPos()
local EndPos = LocalPlayer():GetEyeTrace().HitPos;
local model = LocalPlayer():GetViewModel()

if not IsValid(model) then
return
end

local attach = model:GetAttachment("1")
if ( Attach == 0 ) then Attach = ViewModel:LookupAttachment("muzzle") end
if not attach then return end


startpos = attach.Pos

cam.Start3D()
render.SetMaterial( laser )
render.DrawBeam( startpos, EndPos, 5, 0, 0, Color( 25, 25, 255, 255 ) ) 
--------------------------------- FOR THE END PARTICLE
render.SetMaterial(Material("Sprites/light_glow02_add_noz"))
render.DrawQuadEasy(LocalPlayer():GetEyeTrace().HitPos, (EyePos() -  LocalPlayer():GetEyeTrace().HitPos):GetNormal(), 30, 30, Color(255,255,255,255))
cam.End3D()
end)
Quote Originally Posted by z346etn56jzd7egth View Post
Get a load of kittix still using my old code. nice.
Get a load of this retard still using SethHack code.
Quote Originally Posted by z346etn56jzd7egth View Post
Get a load of this retard accusing me silly shit just because I prop killed him.
Get a load of this retard trying to be superior when he's not.

EDIT:
Hafnium IRL leaked vid
Quote Originally Posted by z346etn56jzd7egth View Post
Get a load of Daz implying im trying to be superior to anyone, still mad that im a better prop killer than him.
Get a load of this retard thinking I care about propkilling which is the worst scene of gmod by far.
STAPH FIGHTING
Quote Originally Posted by z346etn56jzd7egth View Post
Get a load of kittix still using my old code. nice.
wtf? you can't code this is 100% KITTIX code you skid
Quote Originally Posted by z346etn56jzd7egth View Post
Obviously you do care because you're still mad about being prop killed by me.
shutup jew, everyone knows that even kittix is a better prop killer than u

PS: i lied about not knowing your shitty rp server, i tortured it
Quote Originally Posted by z346etn56jzd7egth View Post
Obviously you do care because you're still mad about being prop killed by me.
Get a load of this retard trying to troll someone that was cheating while he was still soup in his mother's belly.
Quote Originally Posted by TheyCallMeDaz View Post
Get a load of this retard trying to troll someone that was cheating while he was still soup in his mother's belly.
Get a load of this retard thinking people start out as soup.
Quote Originally Posted by Reeverr View Post
Get a load of this retard thinking people start out as soup.
Obviously your soup didn't have noodles in it.
Quote Originally Posted by Reeverr View Post
Get a load of this retard thinking people start out as soup.
Funny troll dude guy
Quote Originally Posted by TheyCallMeDaz View Post
Funny troll dude guy
Just bustin' your balls :P
Posts 113 of 13 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?