All Addons
Maps Weapons Backgrounds Models Save Wire Pack Dupes Stargate Vehicle Sounds Skins Other STool NPC Scripts
Addon Entry
Now supporting the newest garrysmods.org
New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!
New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!
Mirrors
There are no mirrors, request one in the comment section below.
There are no mirrors, request one in the comment section below.
File: | Wire fix |
Version: | 0 |
Garrysmod.org URL: | http://www.garrysmod.org/downloads/?a=view&id=95706 |
Description: | With this shit your wire will work perfectly!! dont download this shit its a nothing.lua, empty one!;) When you are at your server, you go to: garrysmod/garrysmod/addons/wire/lua/wire/client/toolscreen When you open this file, you will get some shit! REPLACE THAT WITH THIS! /******************************************************************************\ Tool Screen rendering hook for Garry's Mod Andreas "Syranide" Svensson, me@syranide.com \******************************************************************************/ hook.Add("InitPostEntity", "RenderToolScreenInitialize", function() local SWEP for _,weapon in pairs(weapons.GetList()) do if weapon.Classname == "gmod_tool" then SWEP = weapon break end end if not SWEP then return end local ToolGunMaterial = Material("models/weapons/v_toolgun/screen") local NewRT = GetRenderTarget("GModToolgunScreen", 256, 256) local _RenderScreen = SWEP.RenderScreen function SWEP:RenderScreen() local tool = self.Tool if not tool then return _RenderScreen(self) end if not tool.RenderToolScreen then return _RenderScreen(self) end local oldW = ScrW() local oldH = ScrH() local ToolGunRT = render.GetRenderTarget() ToolGunMaterial:SetMaterialTexture("$basetexture", NewRT) render.SetRenderTarget(NewRT) render.SetViewPort(0, 0, 256, 256) tool:RenderToolScreen() render.SetRenderTarget(ToolGunRT) render.SetViewPort( 0, 0, oldW, oldH ) end end) IF it doesntwork, contact me on steam mkonradsen, and i will help you;) thanks |
Image: | |