Parenting Tool which only allows Parenting to Wiremod Ents.
2 replies, posted
Title truly says all... I'm looking for a modded parent tool which can do multi-parent, but only allows parenting too wire ents.
[lua]function CanUseParent( pl, tr, toolmode )
if toolmode == "name of tool" then
return (string.Left(tr.Entity:GetClass(),5) == "wire_")
end
end
hook.Add( "CanTool", "CanUseParent", CanUseParent )[/lua]
Thank you.
Sorry, you need to Log In to post a reply to this thread.