AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   OnPlayerRunCmd tip (https://forums.alliedmods.net/showthread.php?t=114575)

exvel 01-06-2010 03:38

Re: OnPlayerRunCmd tip
 
Well, now it is clear for me. Like I thought. Thank you. :)

Greyscale 01-06-2010 21:20

Re: OnPlayerRunCmd tip
 
I have never experimented with PreThink so has anyone actually tested these?

Jindo 01-07-2010 07:09

Re: OnPlayerRunCmd tip
 
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.

CrimsonGT 01-07-2010 08:55

Re: OnPlayerRunCmd tip
 
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.

Jindo 01-07-2010 16:26

Re: OnPlayerRunCmd tip
 
Quote:

Originally Posted by CrimsonGT (Post 1046301)
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.


All times are GMT -4. The time now is 18:15.

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