aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/animation/cl_animate.lua
blob: fd322a1415c41c00efb10adbc6de8b4888ef4f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)