Raised This Month: $ Target: $400
 0% 

Why this HamHook doesn't work?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-25-2014 , 14:01   Re: Why this HamHook doesn't work?
Reply With Quote #5

Quote:
Originally Posted by GuskiS View Post
My bad. But is it bad to register it in plugin_init and then disable? I enable it when I need, disable afterwards.
That is perfectly fine, when I need ham hook toggle, I usually do this something like this in plugin_init():
PHP Code:
DisableHamForward((g_hamPreThink RegisterHam(Ham_Player_PreThink"player""hamPlr_PreThink"true))); 
klippy 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 21:09.


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