Public feed #531852

Someone

public lua v1 · immutable
Raw Edit
·published 2007-06-03 00:00 UTC
rendered paste body
function SWEP:PrimaryAttack()	local tr = self.Owner:GetEyeTrace()	if tr.HitNonWorld then		if tr.Entity:IsValid() then		if (IsDoor(tr.Entity)) then			if (self.Owner:GetPos():Distance( tr.Entity:GetOwner():GetPos() ) < 105 ) then				self.Owner:EmitSound( "physics/wood/wood_create_impact_hard3.wav", 100, 100 )			end			end		end 	endend