• Gmod Camera
    5 replies, posted
I'm just wondering is there any way to still use the camera in gmod without it taking screenshots? Thanks
cl_drawhud 0
No, since the new gmod engine, the camera has direct integration with Steam. Best bet would be a screenmater. All the little kids who spam the camera on my server don't realize that it's saving screenshots to their hdd.
Just don't left click.
[QUOTE=Drachen;40074851]Just don't left click.[/QUOTE] I'll rephrase it for him. He wants to USE the camera, making it flash and everything but WITHOUT taking screenshots.
Camcode: [url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/sandbox/entities/weapons/gmod_camera.lua[/url] Simple change this [lua]function SWEP:PrimaryAttack() self:DoShootEffect() -- If we're multiplayer this can be done totally clientside if ( !game.SinglePlayer() && SERVER ) then return end if ( CLIENT && !IsFirstTimePredicted() ) then return end self.Owner:ConCommand( "jpeg" ) end [/lua] to [lua] function SWEP:PrimaryAttack() self:DoShootEffect() end [/lua]
Sorry, you need to Log In to post a reply to this thread.