Absolutely Ridiculous

[lua]
function ChatDrop(ply,text)

if ((string.sub(text,1,11)=="/dropweapon")and(ply:GetActiveWeapon:IsValid() and ply:GetActiveWeapon:GetClass=="weapon_jack_m9")) then  
	
	local SpawnPos = ((ply:GetPos())+(Vector(0,0,math.Rand(5,55)))+(ply:GetAimVector()*math.Rand(5,25)))  
    local SpawnVelocity = ply:GetVelocity()  
  
    local ent = ents.Create("ent_jack_wep_m9")  
		wep = ply:GetWeapon("weapon_jack_m9")
		ent:SetClip1(wep:Clip1())
	ent:SetPos(SpawnPos)  
	ent:GetPhysicsObject():SetVelocity(SpawnVelocity)
	ent:Spawn()  
    ent:Activate()  
      
	ply:StripWeapon("weapon_jack_m9")  
	
end  

end

hook.Add( “PlayerSay”, “M9ChatDrop”, ChatDrop )
[/lua]

SHIT sorry everyone! Sorry Sorry!!
I’m such a moron, I didn’t put the () after the functions. -_-

Still though, why would faulty coding in ONE function completely break the entity?
I mean, that function isn’t even called on until its hook activates…
So… huh???

ply:GetActiveWeapon**( )**

It is a function, you need to set use parenthesis.

I know I’m so sorry
I looked over and over the code until I was SURE that it wasn’t something simple like that.

I noticed it the INSTANT I clicked on the “submit thread” button >.<

It happens, don’t sweat over it.