dobrograd-13-06-2022/garrysmod/addons/gmod-sweps/lua/weapons/stungun/cl_init.lua
Jonny_Bro (Nikita) e4d5311906 first commit
2023-11-16 15:01:19 +05:00

16 lines
379 B
Lua

--[[
Stungun SWEP Created by Donkie (http://steamcommunity.com/id/Donkie/)
For personal/server usage only, do not resell or distribute!
]]
include("shared.lua")
SWEP.Slot = 5
SWEP.SlotPos = 20
SWEP.DrawAmmo = (not SWEP.InfiniteAmmo)
SWEP.DrawCrosshair = true
hook.Add('dbg-view.override', 'stungun', function()
if LocalPlayer():GetNetVar('Tased') then return false end
end)