some more reverts

This commit is contained in:
Jonny_Bro (Nikita) 2023-09-09 14:04:59 +05:00
parent 703e0f7ec9
commit 0249b3baf9

View file

@ -40,19 +40,9 @@ function DoJumpTurnStand()
local activewep = LocalPlayer():GetActiveWeapon()
if IsValid(activewep) and activewep:GetClass() ~= "runnerhands" then
-- BodyAnim:SetSequence("jumpturnlandstandgun")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("jumpturnlandstandgun")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('jumpturnlandstandgun')")
end
BodyAnim:SetSequence("jumpturnlandstandgun")
else
-- BodyAnim:SetSequence("jumpturnlandstand")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("jumpturnlandstand")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('jumpturnlandstand')")
end
BodyAnim:SetSequence("jumpturnlandstand")
ParkourEvent("jumpturnlandstand", LocalPlayer(), game.SinglePlayer())
end