Animation Fixes

If changing this:

function SWEP:Initialize()
if (SERVER) then
self:SetWeaponHoldType(“normal”)
self:SetNPCMinBurst( 30 )
self:SetNPCMaxBurst( 30 )
self:SetNPCFireRate( 0.01 )
end

To This:

function SWEP:Initialize()
self:SetWeaponHoldType(“normal”)
if (SERVER) then
self:SetNPCMinBurst( 30 )
self:SetNPCMaxBurst( 30 )
self:SetNPCFireRate( 0.01 )
end

Fixes half of the problem, how would one accordingly change this:

function SWEP:SetIronsights(b)
if b and SERVER then
self:SetWeaponHoldType(self.HoldType)
GAMEMODE:SetPlayerSpeed(self.Owner, GetConVarNumber(“wspd”) / 3, GetConVarNumber(“rspd”) / 3)
elseif SERVER then
self:SetWeaponHoldType(“normal”)
GAMEMODE:SetPlayerSpeed(self.Owner, GetConVarNumber(“wspd”), GetConVarNumber(“rspd”))
end
self.Ironsights = b
end

The problem trying to be solved, incidentally, is the bug where everyone holds the custom weapons like they would a pistol.

Cause “normal” isent a valid HoldType. Atleast AFAIK.

pistol, smg, ar2, rpg, melee(I think) are the ones I know of.

normal is a valid holdtype

What does AFAIK mean? I’ve seen it a lot but have no idea what it means.

I believe it means “As far as I know”.

Anyway yea, so back to the problem, can anyone help me out?