Garry's Mod

Garry's Mod

99 ratings
TTT Detective Playercam
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
56.693 KB
8 Jun, 2017 @ 7:16am
7 May, 2024 @ 9:27am
17 Change Notes ( view )

Subscribe to download
TTT Detective Playercam

In 1 collection by Fresh Garry
Fresh Garrys TTT Server Addons
386 items
Description
If this addon is installed the Dete Playercam will be a byable swep for the detective.
If you shoot a person with it there appears a window at the top left screencorner.
If you open the scoreboard you can drag or close the window.
If you have closed the window you receive ammo for the Dete Playercam and you can shoot again.

Credits:
Special thanks for fixing the bug that the own playermodel was not rendered in the playercam to:
Jakey ( https://sp.zhabite.com/id/JakeyF_/ )
Special thanks for the icon to:
DJ Bat ( http://sp.zhabite.com/profiles/76561198123553661/ )
Byron ( http://sp.zhabite.com/id/ByroN258 )

Known Bugs:
-none
Feel free to report bugs!
37 Comments
Fresh Garry  [author] 6 May @ 11:37am 
Sorry i am totally not into the code at the moment so i really dont know what could be wrong. I would guess that something should be reseted when a player leaves the same way that it is for when a player dies, but that might be missing causing those problems.
d33r 5 May @ 7:10pm 
like I get that but I was interested if you had an idea as to why that would happen, I don't use github.
Fresh Garry  [author] 5 May @ 12:31pm 
Hi,
that sounds like a bug. Unfortunately i am not able to work at the addon at the moment. If you are into programming you can suggest a fix here: https://github.com/FreshGarry/TTT-Detective-Playercam
d33r 4 May @ 4:46pm 
why is it when a camera attached to a player and that player leaves it forces you into third person?
Fresh Garry  [author] 10 Feb @ 10:20am 
Hi,
at the moment that is not possible. If you are into programming you can suggest that change here: https://github.com/FreshGarry/TTT-Detective-Playercam
Spanospy 9 Feb @ 1:46pm 
I'm looking into if it's possible for players to know when there's a camera attached to them. Does this addon expose this anywhere?
Fresh Garry  [author] 13 Feb, 2022 @ 11:47am 
Yes thats cool for me. I would be happy if you could add me as coauthor of the addon. :)
pawel99uk 13 Feb, 2022 @ 9:20am 
can i add this to my ttt2 role pls the guard
Fresh Garry  [author] 29 Sep, 2021 @ 5:32am 
Im sorry for the issue. At the moment I have not mutch time to work at the addons. But you could request your fix here: https://github.com/FreshGarry/TTT-Detective-Playercam and ill try to check it and upload it soon.
Unaverage Joe. 28 Sep, 2021 @ 1:20pm 
If I'm reading the code correctly there seems to be no firerate delay for the gun itself. SetNextPrimaryFire creates a delay between shots and defines the RPM for the gun, which the weapon does not seem to have, and makes it have a potential infinite RPM which is exploitable with macros.
self:SetNextPrimaryFire( CurTime() + self.Primary.Delay )