Raised This Month: $ Target: $400
 0% 

Register/Unregister HAM


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Y060N
BANNED
Join Date: Dec 2011
Location: www.equilibriumcs.com
Old 06-13-2012 , 18:19   Register/Unregister HAM
Reply With Quote #1

On one of my servers, I run a big plugin that hooks reload, primary attack, primary attack post, and take damage. I was wondering if it's possible to not even look at those if they don't have certain skills (unregister the HAM hook if they do not have a certain skill, per player basis).

It seems that a lot of data is being sent to them even if they are lower level or level 0, since it's hooking their attacks for everything. I do check for their levels right at the beginning, but I'd prefer it to not even have to check (or only check once) if it could be done.
Y060N is offline
 



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 06:11.


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