Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ENT:Initialize()
- self:SetModel( "models/props_wasteland/controlroom_storagecloset001a.mdl" )
- self:SetMaterial("models/props_wasteland/rockcliff04a")
- self:PhysicsInit( SOLID_VPHYSICS ) -- Make us work with physics,
- self:SetMoveType( MOVETYPE_VPHYSICS ) -- after all, gmod is a physics
- self:SetSolid( SOLID_VPHYSICS ) -- Toolbox
- self:SetTrigger()
- self.Delay = CurTime()
- local phys = self:GetPhysicsObject()
- if (phys:IsValid()) then
- phys:Wake()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement