Hello, I currently try to configure my pointshop with a swep. In fact, I'd like to holster items on a condition. For exemple, when the player get a specific model (werewolf) his items auto holster and when his skin changes, his items are set back. For accessories I done that
function ITEM:ModifyClientsideModel(ply, model, pos, ang)
if (ply:GetModel() == "models/grealms/characters/rakghoul/rakghoul.mdl") then return end
if (ply:GetModel() == "models/player/stenli/lycan_werewolf.mdl") then return end
if (ply:GetModel() == "models/player/zombie_classic.mdl") then return end
The problem is that items like trails don't have this function, there is only
function ITEM:OnEquip(ply, modifications)
end
function ITEM:OnHolster(ply)
end
function ITEM:Modify(modifications)
end
function ITEM:OnModify(ply, modifications)
end
If anyone has a solution D:
Sorry, you need to Log In to post a reply to this thread.