Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function animate(ply)
- local id = "televator_gman_suitcase_" .. ply:UniqueID()
- local seq = ply:LookupSequence("menu_gman")
- local cycle = 0
- hook.Add("CalcMainActivity", id, function(_ply)
- if _ply ~= ply or not ply:IsValid() then return end
- if cycle > 1 then
- hook.Remove("CalcMainActivity", id)
- end
- ply:SetCycle(cycle)
- cycle = cycle + FrameTime() * 0.25
- return seq, seq
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment