mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
30
gamemodes/sandbox/entities/weapons/gmod_tool/stool_cl.lua
Normal file
30
gamemodes/sandbox/entities/weapons/gmod_tool/stool_cl.lua
Normal file
@@ -0,0 +1,30 @@
|
||||
--[[
|
||||
| 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
|
||||
Reference in New Issue
Block a user