Hi everyone. Two days ago i got a problem with pointshop models: most of player see error but player model. Two days ago it was right. I'm using workshop addons for player models. If people subscribe to addon it shows right. I got a special addon for workshop addons. Here is a part of this addon:
[CODE]resource.AddWorkshop( "302274551" )
resource.AddWorkshop( "302274895" )[/CODE]
Item has a default code for playermodel:
[CODE]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[/CODE]
Thank you!
Where are the resource.AddWorkshop lines located?
[QUOTE=code_gs;45782111]Where are the resource.AddWorkshop lines located?[/QUOTE]
addons/workshop/lua/autorun/server/shared.lua
No ideas? :(
Sorry, you need to Log In to post a reply to this thread.