diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-17 20:08:23 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-17 20:08:23 -0400 |
| commit | 7a31161e59b34d34917a5c8826d5187fd63e844b (patch) | |
| tree | 85694d3dc3429f2a3c2183f03b5e7c7a818958b3 /entities/weapons/hands.lua | |
| parent | fcffbc1ff27a7cb28bab85b223be7060c481bf8b (diff) | |
| download | artery-7a31161e59b34d34917a5c8826d5187fd63e844b.tar.gz artery-7a31161e59b34d34917a5c8826d5187fd63e844b.tar.bz2 artery-7a31161e59b34d34917a5c8826d5187fd63e844b.zip | |
Made console commands admin-only
this was probably a big security bug or something lol
Diffstat (limited to 'entities/weapons/hands.lua')
| -rw-r--r-- | entities/weapons/hands.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/entities/weapons/hands.lua b/entities/weapons/hands.lua index 4220f5e..7532104 100644 --- a/entities/weapons/hands.lua +++ b/entities/weapons/hands.lua @@ -109,3 +109,7 @@ function SWEP:SecondaryAttack() weapon:onClick(self.Owner) end --Make sure we have a weapon end + +hook.Add("PlayerSpawn","give_hands",function(ply) + ply:Give("hands") +end) |
