Иван Грачёв f5192ebfff Finished grip steering
2021-09-19 23:38:05 +05:00

30 lines
478 B
Plaintext

-- @name Input System
-- @author DarkSupah
-- @shared
-- @include ./cl_input.txt
-- @include ./sv_input.txt
local Axles = {
Horizontal = {
Negative = KEY.D,
Positive = KEY.A,
Gravity = 0.1,
Sensitivity = 0.2
}
}
local options = {
Axles = Axles
}
if SERVER then
require('./sv_input.txt')
else
require('./cl_input.txt')
end
local input = Input:new(options)
hook.add('tick', 'InputUpdate', function()
input:update()
end)