Raised This Month: $ Target: $400
 0% 

enable/disable prethink


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 06-05-2013 , 06:05   Re: enable/disable prethink
Reply With Quote #1

This is for Ham Sandwich.
If you use Fake Meta, then try:

PHP Code:
new g_Forward;

public 
plugin_precache( )
  
g_Forward register_forwardFM_PlayerPreThink"OnPlayerPreThink" ),
  
set_task60.0"DisablePlayerPreThink" );

public 
DisablePlayerPreThink( )
  
unregister_forwardFM_PlayerPreThinkg_Forward );

public 
OnPlayerPreThinkPlayer ) {


__________________

Last edited by claudiuhks; 06-05-2013 at 06:05.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
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 16:22.


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