[lua]if CLIENT then
SWEP.DrawAmmo = true
SWEP.DrawCrosshair = true
SWEP.ViewModelFOV = 54 - (LocalPlayer():GetAimVector().z * -10)
SWEP.ViewModelFlip = false
SWEP.CSMuzzleFlashes = true
SWEP.Slot = 3
SWEP.SlotPos = 1
SWEP.IconLetter = "E"
SWEP.DrawWeaponInfoBox = false
end[/lua]
I'm pretty sure you guys already figured out what I am trying to do with the fov. I'm trying to make it l4d-ish, but for some reason the swep won't show up. Help?
EDIT: By show up I mean it isn't in the spawn weapon menu.
Either SWEP.Spawnable is false or you made an error in the code and should look into your console for it.
And you probbably wanna do that in the think function or GetViewModelPosition maybe
Sorry, you need to Log In to post a reply to this thread.