Code:
function Norecoil()
if !norecoil then
norecoil = true
norecoilTabGet = "On"
norecoilTabCol = green
hook.Add("Think", "norecoil", function ()
if ply:GetActiveWeapon().Primary then
ply:GetActiveWeapon().Primary.Recoil = 0
end
end)
elseif norecoil then
norecoil = false
norecoilTabGet = "Off"
norecoilTabCol = red
ply:GetActiveWeapon().Primary.Recoil = 10
hook.Remove("Think", "norecoil")
end
end
Credits to the search function. It will most likely get you banned because of the hook, but it's free.
Yes I C+Ped it... No, I don't care.