well... sry for doubleposting, but i want this thread moved to expression-gates-addons or added to public branch? *hope* 
Code:
e2function void entity:use()
if not this then
return nil
end
if not this:IsValid() then
return nil
end
-- if (this.IsWorld()) then
-- return nil
-- end
-- if not validEntity(this) then
-- return nil
-- end
if this.Use and this.GetPlayer then
this:Use(this:GetPlayer())
end
end
feels like the first sensefull thing I did in life.
i think you can add this as entity.lua in your "\garrysmod\addons\wire\lua\entities\gmod_wire_exp ression2\core\custom"-folder or add this to entity.lua...
Greetings
Matthias
Bookmarks