Garry's Mod

Garry's Mod

Not enough ratings
CCTV System Offline Screen Replacement
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
245.880 KB
4 Jun, 2017 @ 8:22am
4 Oct, 2017 @ 4:11pm
4 Change Notes ( view )

Subscribe to download
CCTV System Offline Screen Replacement

Description
You have no need to subscribe to this, and it will not work without editing.
3 Comments
Felix  [author] 29 Dec, 2017 @ 5:35pm 
if Cam:GetBroken() and Cam:GetInstalled() then
surface.SetTexture(OfflineScreen)
elseif !Cam:GetInstalled() then
surface.SetTexture(NotInstalledScreen)
else
self.RTMat:SetTexture('$basetexture', self.RT)
surface.SetMaterial(self.RTMat)
end
Felix  [author] 29 Dec, 2017 @ 5:35pm 
The only reason this addon is public is because it wouldn't work on the server it's used on if it was friends only or private. It doesn't work without editing and you need to have CCTV System by ToBadForYou (which is on Gmodstore, and costs money, 6 dollars 99 to be precise). The addon on our server also has modified code for this to work, which I cannot release with the addon for obvious reasons. If you have the addon and you want to get it to work subscribe to this addon and decompile it with Gmad to get the textures, then place them in the addon's materials folder and delete the old CCTV offline screen, and then go to lua > entities > tbfy_cctv_screen > cl_init.lua

The code you need to replace is at line 99 (use Notepad++ or another text editor that displays line numbers to find code).
Replace the code from line 99 to line 106 with the code in the above comment (I could not fit it in this one).

January_Scripts 29 Dec, 2017 @ 1:20pm 
Where do you find this in entitys?