aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/combat/cl_weaponswing.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/combat/cl_weaponswing.lua')
-rw-r--r--gamemode/core/combat/cl_weaponswing.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/gamemode/core/combat/cl_weaponswing.lua b/gamemode/core/combat/cl_weaponswing.lua
index ec5b954..7f2c927 100644
--- a/gamemode/core/combat/cl_weaponswing.lua
+++ b/gamemode/core/combat/cl_weaponswing.lua
@@ -82,6 +82,10 @@ net.Receive("artery_doanimation",function()
end)
end)
+---Force the player to do an animation.
+-- The animation must have been already registered to animbonelib ![Requires admin](./req_admin)
+--@usage artery_startanimation <animation name>
+--@concommand artery_startanimation
concommand.Add("artery_startanimation",function(ply,cmd,args)
if not ply:IsAdmin() then return end
swingtbl = {}