All pastes #291261 Raw Edit

Mine

public lua v1 · immutable
#291261 ·published 2006-12-24 23:34 UTC
rendered paste body
AddCSLuaFile( "cl_init.lua" )AddCSLuaFile( "shared.lua" )include('shared.lua')function ENT:Initialize()	self.Entity:SetModel('models/props_c17/oildrum001.mdl')	self.Entity:PhysicsInit( SOLID_VPHYSICS )	self.Entity:SetMoveType( MOVETYPE_VPHYSICS )	self.Entity:SetSolid( SOLID_VPHYSICS )	local phys = self.Entity:GetPhysicsObject()	if (phys:IsValid()) then		phys:Wake()		constraint.Keepupright( self.Entity, Angle(0,0,0), 0, 100000 )	endendfunction ENT:Think()end