Select Weapon with Inventory Hotbar

Hello Community,
I am now trying for several hours to link a Hotbar(from Inventory) to a Weapon Selection.
I have a Serverside Function which gets the Current Selected item and its classname like “rust_copperpickaxe”.
Then the Server gives the Player the Weapon and doing “ply:SelectWeapon(class)” but the Client still DOESNT change the weaüon and only displays this “Weapon pickup” HUD on the right side




function metaTable:GiveInventory(cls)
//if self.WeaponGiven then else self.WeaponGiven = "42" end
//if self.WeaponGiven == cls then return end
	if self:HasWeapon(cls) == false then
		local e = ents.Create(cls)
		e.IsInventory = true
		self.WeaponGiven = cls
		e:SetPos(self:GetPos())
		e:Spawn()
		e:Activate()
		MsgN("Player has no Weapon giving him one from China")
	end
	self:SelectWeapon(cls)
	timer.Simple(1,function()
		if IsValid(self:GetActiveWeapon()) then
			self:GetActiveWeapon():SendWeaponAnim(ACT_VM_DRAW) // this works 1time. if the player die and respawn this nomore work!
		end
		net.Start("CLIENT_PLAYER_SELECT_WEAPON") // executes "use classnaem" on client but doesnt change the weapon
			net.WriteString(cls)
		net.Send(self)
	end)
end