From 25e4d04a331a6a0b9d897d4f721757730771ff97 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 18 Nov 2017 16:00:29 -0500 Subject: More documentation * Documented the item table * Documented the inventory table * Started writing tutorials --- gamemode/core/combat/cl_weaponswing.lua | 3 ++- gamemode/core/combat/sv_weaponswing.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'gamemode/core/combat') 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 --@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 -- cgit v1.2.3-70-g09d2