From e2428796b9afe019ae6ca45e07fbe1aaa6963917 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 23 Mar 2018 20:20:40 -0400 Subject: Started working on quest inventory --- gamemode/core/animation/cl_animate.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gamemode/core/animation/cl_animate.lua (limited to 'gamemode/core/animation/cl_animate.lua') diff --git a/gamemode/core/animation/cl_animate.lua b/gamemode/core/animation/cl_animate.lua new file mode 100644 index 0000000..fd322a1 --- /dev/null +++ b/gamemode/core/animation/cl_animate.lua @@ -0,0 +1,13 @@ + +net.Receive("art_start_animation",function() + local what = net.ReadEntity() + local anim = net.ReadString() + what:SetupBones() + what:SetLuaAnimation(anim) +end) + +net.Receive("art_stop_animation",function() + local what = net.ReadEntity() + local anim = net.ReadString() + what:StopLuaAnimation(anim) +end) -- cgit v1.2.3-70-g09d2