Raised This Month: $51 Target: $400
 12% 

Solved SDKUnhook


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 07-18-2016 , 13:28   SDKUnhook
Reply With Quote #1

Im using sdkhooks for blocking damage and I wanted to know whether there is a point in unhooking the OnTakeDamage hook on disconnect?
__________________

Last edited by luki1412; 09-23-2016 at 18:44.
luki1412 is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 07-18-2016 , 13:30   Re: SDKUnhook
Reply With Quote #2

There is no point, the player entity is destroyed when the user disconnects and the hook is removed
__________________
Pelipoika is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 07-18-2016 , 13:40   Re: SDKUnhook
Reply With Quote #3

Thanks
__________________
luki1412 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode