Raised This Month: $ Target: $400
 0% 

RegisterHamFromEntity sends incorrectly


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 05-15-2009 , 05:15   Re: RegisterHamFromEntity sends incorrectly
Reply With Quote #2

RegisterHamFromEntity checks the entitys classname and registeres a hook for all entitys whith the same classname. if your classname was a info_target, it will register a hook for info_target even though you might have changed the classname.
all you have to do is a single Ham_Think hook for info_targets and check which costum entities id matches the send one of Ham_Think
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
 



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 01:30.


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