View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-01-2024 , 04:42   Re: [L4D|L4D2] Odin's Rock
Reply With Quote #7

Quote:
Originally Posted by Paimon View Post
For this part I have some questions:
1. Will the multiple hook call OnTakeDamage multiple times even if they are the same target?
2. I have seen that the sdkhook.inc says SDKHook could "Unhooked automatically upon destruction/removal of the entity", so is unhook necessary?
1. Yes.
2. The client "entity" is never destroyed unless they disconnect.
__________________
Silvers is offline