aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/combat
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/combat')
-rw-r--r--gamemode/core/combat/cl_weaponswing.lua3
-rw-r--r--gamemode/core/combat/sv_weaponswing.lua1
2 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/core/combat/cl_weaponswing.lua b/gamemode/core/combat/cl_weaponswing.lua
index 61c31b0..968ff9e 100644
--- a/gamemode/core/combat/cl_weaponswing.lua
+++ b/gamemode/core/combat/cl_weaponswing.lua
@@ -80,9 +80,10 @@ net.Receive("artery_doanimation",function()
end)
---Force the player to do an animation.
--- The animation must have been already registered to animbonelib ![Requires admin](./req_admin)
+-- The animation must have been already registered to animbonelib
--@usage artery_startanimation <animation name>
--@concommand artery_startanimation
+--@reqadmin
concommand.Add("artery_startanimation",function(ply,cmd,args)
if not ply:IsAdmin() then return end
swingtbl = {}
diff --git a/gamemode/core/combat/sv_weaponswing.lua b/gamemode/core/combat/sv_weaponswing.lua
index 1970007..7cac43a 100644
--- a/gamemode/core/combat/sv_weaponswing.lua
+++ b/gamemode/core/combat/sv_weaponswing.lua
@@ -1,6 +1,7 @@
---Automatically re-calculates swing arcs for weapons.
-- This files helps you create mele weapons that need to be swung
--@server sv_weaponswing.lua
+--@alias ws
--[[
This file tells you what weapons need their swings recalculated