language.Add("Tool_hanim_select_name","Selector") language.Add("Tool_hanim_select_desc","Selects an entity to use with HAT.") language.Add("Tool_hanim_select_0","Primary: Select entity. Secondary: Deselect entity")
function TOOL.BuildCPanel(CPanel)
end
end
function TOOL:LeftClick(tr) if !tr.Entity:IsValid() or tr.Entity:IsWorld() then return end if type(tr.Entity) != "Entity" and type(tr.Entity) != "Vehicle" then return end 22> hanim.AddThreadEntity(tr.Entity) hanim.clAddThreadEntity(tr.Entity) return true end
function TOOL:RightClick(tr) if !tr.Entity:IsValid() or tr.Entity:IsWorld() then return end hanim.RemoveThreadEntity(tr.Entity) hanim.clRemoveThreadEntity(tr.Entity) return true end