Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function PART:OnWeaponChanged(wep)
- wep.pac_bones = pac.GetAllBones(wep)
- if not self.WeaponClass then return end
- if wep:GetClass():find(self.WeaponClass) then
- self.Hide = false
- if self.HideWeaponClass then
- wep:SetColor(255,255,255,0)
- epoe.Print("hiding", wep:GetClass())
- end
- else
- self.Hide = true
- if self.HideWeaponClass then
- wep:SetColor(255,255,255,255)
- epoe.Print("showing", wep:GetClass())
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment