Server Weapon HoldTypes

Is this even possible to do the following way?

In my swep the hold type is normal


 SWEP.HoldType = "normal" 

and in


 function SWEP:PrimaryAttack() 

I have


 self:SetWeaponHoldType("fist") 

But for some reason it only shows the client doing it when they are in thirdperson.

You must run this on every client on your server.

So I’m guessing I’m going to need to produce a cl_init and do something with



function SWEP:PrimaryAttack()
	if not self:CanPrimaryAttack() then return end
	self:SendWeaponAnim(ACT_VM_HITCENTER)
        self:SetWeaponHoldType("fist")
	self.Owner:DoAttackEvent()
	self:EmitSound(self.Primary.Sound)
	self:SetNextPrimaryFire(CurTime() + self.Primary.Delay)
	self:SetNextSecondaryFire(CurTime() + self.Primary.Delay)
	if SERVER then
		self:SetWeaponHoldType("fist")
		local tr = {}
		tr.start = self.Owner:GetShootPos()
		tr.endpos = tr.start + self.Owner:GetAimVector() * 50
		tr.filter = self.Owner
		tr.mask = MASK_SHOT
		tr = util.TraceLine(tr)
		if IsValid(tr.Entity) and not tr.Entity:IsPlayer() then
			tr.Entity:TakeDamage(25,self.Owner,self)
		end
	end
	self.LastShot = CurTime()
end


in there?