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

OnPlayerRunCmd tip


Post New Thread Reply   
 
Thread Tools Display Modes
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 01-06-2010 , 03:38   Re: OnPlayerRunCmd tip
Reply With Quote #11

Well, now it is clear for me. Like I thought. Thank you.
__________________
For admins: My plugins

For developers: Colors library

Last edited by exvel; 01-07-2010 at 07:22.
exvel is offline
Send a message via ICQ to exvel
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 01-06-2010 , 21:20   Re: OnPlayerRunCmd tip
Reply With Quote #12

I have never experimented with PreThink so has anyone actually tested these?
__________________
Greyscale is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 01-07-2010 , 07:09   Re: OnPlayerRunCmd tip
Reply With Quote #13

I've tested PreThink before, and I found that it made no difference whether I used OnGameFrame, PreThink or OnPlayerRunCmd, I tried to block the Sniper Rifle's zoom in TF2 and I found myself constantly zooming in and out when right-click was held down.
__________________
Jindo is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 01-07-2010 , 08:55   Re: OnPlayerRunCmd tip
Reply With Quote #14

You can block zoom with prethink, I did it for a mod I was working on with no problems. Im assuming your using SDKHooks or w.e. that extension is called, might wanna make sure its a prehook on Prethink and not a posthook.
CrimsonGT is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 01-07-2010 , 16:26   Re: OnPlayerRunCmd tip
Reply With Quote #15

Quote:
Originally Posted by CrimsonGT View Post
You can block zoom with prethink, I did it for a mod I was working on with no problems. Im assuming your using SDKHooks or w.e. that extension is called, might wanna make sure its a prehook on Prethink and not a posthook.
I was using SDKHooks yes, it's likely that this was when I had problems getting it to work properly.
__________________
Jindo 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 17:22.


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