Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charpanel PAC3 #81

Open
ultradev1337 opened this issue Apr 17, 2023 · 1 comment
Open

Charpanel PAC3 #81

ultradev1337 opened this issue Apr 17, 2023 · 1 comment

Comments

@ultradev1337
Copy link

How about dear, I'm trying to add support with pac3 in the "PANEL:UpdateModel()" section in this function I can't think of how to add that compatibility

@ultradev1337
Copy link
Author

if(IsValid(self.model)) then
	self.model:SetModel(self:GetCharacter().model or self:GetCharacter():GetPlayer():GetModel(), self:GetCharacter().vars.skin or self:GetCharacter():GetData("skin", 0))

	for k, v in pairs(self:GetCharacter().vars.groups or self:GetCharacter():GetData("groups", {})) do
		self.model.Entity:SetBodygroup(k, v)
	end
	local ply = self:GetCharacter():GetPlayer()
	local character = self:GetCharacter()
	local charPanel = character:GetCharPanel();
	for _, v in pairs(charPanel:GetItems()) do
	    if (v.pacData) then
			
	   end
	end
end ``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant