A Couple Pac Questions

How do i stop this DModelPanel been affected
[lua]
local PlayerDisplay = vgui.Create(“DModelPanel”,self.panel)
PlayerDisplay.Entity = LocalPlayer()
PlayerDisplay.OnRemove = nil
PlayerDisplay:Dock(LEFT)
PlayerDisplay:SetSize(300,500)

	local ShouldDrawLocalPlayer

	function PlayerDisplay:Paint(w,h)
		draw.RoundedBox(4,0,0,w,h,Color(53,53,53,200))
		if !IsValid(self.Entity) then return end

		local x, y = self:LocalToScreen(0,0)

		local ang = self.aLookAngle
		if ( !ang ) then
			ang = self.Entity:GetAngles()+Angle(0,RealTime()*25,0)
		end

		cam.Start3D(self.Entity:LocalToWorld(self.Entity:OBBCenter())-ang:Forward()*100,ang,self.fFOV,x,y,w,h,5,4096)
		cam.IgnoreZ(true)
		ShouldDrawLocalPlayer = true
		local pac=pac
		if pac then
			pac.ForceRendering(true)
			pac.RenderOverride(self.Entity,"opaque")
			pac.RenderOverride(self.Entity,"translucent",true)
		end

		self.Entity:DrawModel()

		if pac then
			pac.ForceRendering(false)
		end


		ShouldDrawLocalPlayer = false
		cam.IgnoreZ(false)
		cam.End3D()

		self.LastPaint = RealTime()
	end

hook.Add(“ShouldDrawLocalPlayer”,“PAC3Preview”,function()
if ShouldDrawLocalPlayer then return true end
end)
[/lua]

One of my previous questions no one seems to have the answer to
how do i attach a pac outfit onto a player?
my code:
[lua]
concommand.Add(“PacSetup”, function(ply)
pac.SetupENT(ply)
end)
concommand.Add(“PacAdd”, function(ply)
ply:AttachPACPart(pac.luadata.ReadFile(“pac3/testpac.txt”))
end)
concommand.Add(“PacRemove”, function(ply)
ply:RemovePACPart(pac.luadata.ReadFile(“pac3/testpac.txt”))
end)
[/lua]
It lets people spawn with it if pacsetup is run when they spawn along with PacAdd but then other players arent able to use this nor see it removed once PacRemove is called

Bump

Bump

[editline]13th March 2016[/editline]

Can someone atleast tell me how to equip a PAC outfit through lua onto a player ?