add sborka
This commit is contained in:
10
garrysmod/addons/first_person_legs_3348203779/addon.json
Normal file
10
garrysmod/addons/first_person_legs_3348203779/addon.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"title": "First Person Legs",
|
||||
"type": "gamemode",
|
||||
"tags": [
|
||||
"roleplay",
|
||||
"realism",
|
||||
"fun"
|
||||
],
|
||||
"ignore": []
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,14 @@
|
||||
hook.Add("StartCommand", "Dynamic Height + Hull Fix FIX", function()
|
||||
hook.Remove("StartCommand", "Dynamic Height + Hull Fix FIX")
|
||||
|
||||
if DynamicCameraUpdateTrueModel then
|
||||
local ECPlayerTickRate = 0.5
|
||||
|
||||
hook.Add("PlayerTick", "DynamicCamera:PlayerTick", function(ply)
|
||||
if (ply.ECPlayerTickTime or 0) > CurTime() then return end
|
||||
ply.ECPlayerTickTime = CurTime() + ECPlayerTickRate
|
||||
|
||||
DynamicCameraUpdateTrueModel(ply)
|
||||
end)
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user