Files
wnsrc/gamemodes/sandbox/entities/weapons/gmod_tool/stool_cl.lua
lifestorm df294d03aa Upload
2024-08-04 23:54:45 +03:00

31 lines
717 B
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
-- Tool should return true if freezing the view angles
function ToolObj:FreezeMovement()
return false
end
-- The tool's opportunity to draw to the HUD
function ToolObj:DrawHUD()
end
-- Force rebuild the Control Panel
function ToolObj:RebuildControlPanel( ... )
local cPanel = controlpanel.Get( self.Mode )
if ( !cPanel ) then ErrorNoHalt( "Couldn't find control panel to rebuild!" ) return end
cPanel:ClearControls()
self.BuildCPanel( cPanel, ... )
end