Problems with PhysgunPickup hook

I don’t know if anyone’s run into this before, but since I posted my Physgun addon I’ve been getting complaints about it randomly not working. I’ve tracked down the problem to cases where people are using conflicting addon scripts.

In every case, these addons are using the PhysgunPickup hook as well and are returning true, and my PhysgunPickup hook fails to run at all when this happens. I don’t know if this is intentional on Garry’s part or what, but is there a way around this?

No. Returning something on a hook overrides all the others.

So basically it boils down to getting addon creators to quit returning stuff on their hooks for no reason, huh.

Exactly

Or override hook.Call

Or use ulib which overrides hooking and does all the priorizing for you.

http://ulyssesmod.net/docs/files/lua/ULib/server/hook-lua.html#hook.Add