Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local outfit = pac.luadata.ReadFile("pac3/mech.txt")
- if CLIENT then
- pac.SetupENT(ENT)
- function ENT:Initialize()
- self:AttachPACPart(outfit)
- self:SetPACDrawDistance(0)
- -- 0 = don't use distance check
- -- nil = obey client settings
- end
- function ENT:OnRemove()
- self:RemovePACPart(outfit)
- end
- end
- if SERVER then
- function ENT:Initialize()
- self:SetModel("models/props_c17/oildrum001.mdl")
- self:PhysicsInit(SOLID_VPHYSICS)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement