• Point Shop Skin Changing.
    7 replies, posted
Hello! I have a question. I have tried to change the pointshop skin through pointshop with: [code] ITEM.Skin = 6 [/code] I am also trying to use the tron model from sassilization, the fixed version. When I spawn the ragdoll and change the skin it works but no luck with pointshop. Thank you if can help. Proof it works ingame with a ragdoll [url]http://gyazo.com/c987144c583b7e8428827b03d80b0a4a[/url]
Bump, no help?
Post your PS file and link to the addon please
Its not a addon it is just a model here is the code though [code] ITEM.Name = 'Tron' ITEM.Price = 100000 ITEM.Model = 'models/mrgiggles/sassmodels/tronplayer-fix.mdl' ITEM.Skin = 6 ITEM.AllowedUserGroups = { "superadmin", "admin", "donator" } function ITEM:OnEquip(ply, modifications) if not ply._OldModel then ply._OldModel = ply:GetModel() end timer.Simple(1, function() ply:SetModel(self.Model) end) end function ITEM:OnHolster(ply) if ply._OldModel then ply:SetModel(ply._OldModel) end end function ITEM:PlayerSetModel(ply) ply:SetModel(self.Model) end [/code] I have also tried this [code] ITEM.Name = 'Tron' ITEM.Price = 100000 ITEM.Model = 'models/mrgiggles/sassmodels/tronplayer-fix.mdl' ITEM.Skin = "Magical Pixie Rainbow" ITEM.AllowedUserGroups = { "superadmin", "admin", "donator" } function ITEM:OnEquip(ply, modifications) if not ply._OldModel then ply._OldModel = ply:GetModel() end timer.Simple(1, function() ply:SetModel(self.Model) end) end function ITEM:OnHolster(ply) if ply._OldModel then ply:SetModel(ply._OldModel) end end function ITEM:PlayerSetModel(ply) ply:SetModel(self.Model) end [/code]
Any errors in console for the model? Also make sure that the model isn't just a rag doll otherwise you'll just have a "T" standing model.
It works ingame, I have the model on and working but it doesn't display the skin.
Check the PS model file path. Can you buy the model? Able to be equipped?
1. Correct 2. Yes 3. Yes
Sorry, you need to Log In to post a reply to this thread.