View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 04-24-2018 , 12:13   Re: [TF2] Both max and current health stops adding after taking damage
Reply With Quote #2

Attributes are reset when you touch a resupply (if the weapon is reapplied, anyways).

Can't really do any further debugging without a full plugin (or at least a minimal one that shows the same results), but that is definitely not a TakeDamage SDKHook callback (it doesn't have slots, nor a bool for buildings).

If you're doing kills though, I'd recommend doing all your checks in a player_death event.
__________________
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)

Last edited by nosoop; 04-24-2018 at 12:28.
nosoop is offline