some minor fixes

This commit is contained in:
Jonny_Bro (Nikita) 2023-09-09 12:26:07 +05:00
parent 169aa9c694
commit 703e0f7ec9
2 changed files with 8 additions and 14 deletions

View file

@ -448,12 +448,7 @@ local worldarm = {
ladderclimbhangstart = true,
snatchscar = true,
jumpcoil = true,
jumpturnlandidle = true,
water_swimfwd = true,
water_swimright = true,
water_swimleft = true,
water_swimback = true,
water_float = true
jumpturnlandidle = true
}
local ignorezarm = {
@ -463,12 +458,7 @@ local ignorezarm = {
hangfoldedheaveup = true,
wallrunverticalstart = true,
diestandlong = true,
vaultontohigh = true,
water_swimfwd = true,
water_swimright = true,
water_swimleft = true,
water_swimback = true,
water_float = true
vaultontohigh = true
}
local nocyclereset = {

View file

@ -13,7 +13,9 @@ local function SafetyRollThink(ply, mv, cmd)
mv:SetButtons(bit.band(mv:GetButtons(), bit.bnot(IN_DUCK)))
end
if CurTime() > ply:GetSafetyRollTime() and weapons.IsBasedOn(ply:GetActiveWeapon():GetClass(), "mg_base") then RunConsoleCommand("mgbase_debug_vmrender", "1") end
if ply:Alive() and CurTime() > ply:GetSafetyRollTime() and weapons.IsBasedOn(ply:GetActiveWeapon():GetClass(), "mg_base") then
RunConsoleCommand("mgbase_debug_vmrender", "1")
end
if CurTime() < ply:GetSafetyRollTime() then
ply.FootstepLand = false
@ -128,7 +130,9 @@ hook.Add("OnPlayerHitGround", "SafetyRoll", function(ply, water, floater, speed)
ParkourEvent("roll", ply)
if (weapons.IsBasedOn(ply:GetActiveWeapon():GetClass(), "mg_base")) then RunConsoleCommand("mgbase_debug_vmrender", "0") end
if ply:Alive() and weapons.IsBasedOn(ply:GetActiveWeapon():GetClass(), "mg_base") then
RunConsoleCommand("mgbase_debug_vmrender", "0")
end
local ang = ply:EyeAngles()
local land = ply:GetVelocity()