• Can't Remove Green Crosshair.
    8 replies, posted
Okay, so I made a Swep from a Desert eagle skin and I can't figure out how to remove the original crosshair. [IMG]http://i276.photobucket.com/albums/kk35/mescool15/gm_construct0002.jpg[/IMG]
this should do the trick [code] SWEP.Drawcrosshair = false [/code]
Nope, I already had that in there. It only removes the HL2 crosshair. EDIT: That screenshot is with that code in the lua file.
Do you want this? [code] Player:CrosshairDisable( )[/code]
You need to override DrawHUD for the swep. In a shared/cl_init file add this.. [lua]SWEP.DrawHUD = function( ) end[/lua]
Don't use (any) the css base.
Go into console and make the alpha color of the crosshairs to 0. I'm not sure on the exact command but I believe it's... cl_crosshair 0,0,0,0
[QUOTE=JoeSkylynx;15968249]Go into console and make the alpha color of the crosshairs to 0. I'm not sure on the exact command but I believe it's... cl_crosshair 0,0,0,0[/QUOTE] Would it be possible to make it put that in the console as soon as I equip the swep?
hook.Add("HUDShouldDraw", "Crosshair", function(name) if( name == "CHudCrosshair" ) then return false end end)
Sorry, you need to Log In to post a reply to this thread.