View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 06-07-2022 , 05:55   Re: [TF2] Prevent medigun/dispenser healing issues with SetTransmit hook
Reply With Quote #2

One way would be to hook and return false on both CWeaponMedigun::AllowedToHealTarget and CObjectDispenser::CouldHealTarget if neither object share the same space.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline