Getting the entity from a wirelink inside a hook
🔌 Wiremod•Updated 2 days ago•0 views
The hook's value isn't the entity - get the wirelink of the value returned by the hook (ent:getWirelink()) then read the entity off the wirelink.
Why is the entity nil inside my wire input hook and how to get it
The hook's value isn't the entity - get the wirelink of the value returned by the hook (ent:getWirelink()) then read the entity off the wirelink.