master
AlmTech 5 years ago
parent f8d4175754
commit 8f938f83ef
  1. 2
      gamemode/cl_init.lua
  2. 7
      gamemode/engine/core/sh_player_binds.lua

@ -43,7 +43,7 @@ if CLIENT then
local fol = GM.FolderName .. "/gamemode/engine/derma/"
local clFiles = file.Find( fol .. "/cl_*.lua", "LUA" )
for _, file in pairs( clFiles ) do
include( fol .. "/" .. file )
include( fol .. file )
end
end

@ -10,12 +10,13 @@ if SERVER then
local keyfuncs = {
[IN_USE] = function( pl )
pl:ChatPrint( "Use bind test" )
Quantum.Debug( tostring( pl ) .. " pressed IN_USE" )
end
}
function GM:KeyRelease( ply, key )
if( keyfuncs[key] ) then keyfuncs[key]( pl ) end
if( keyfuncs[key] ) then keyfuncs[key]( ply ) end
end
else
--
end
Loading…
Cancel
Save