Raised This Month: $ Target: $400
 0% 

prevent from duck


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
waza123a
Member
Join Date: Mar 2010
Old 01-12-2014 , 19:19   prevent from duck
Reply With Quote #1

How to prevent user from ducking ? How to handle ducks count ?

no ducks on server!
__________________
Life is good, sometimes...
waza123a is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 01-12-2014 , 22:43   Re: prevent from duck
Reply With Quote #2

Hook Ham_Player_Duck and check if its on ground. In case its on ground, remove IN_DUCK from pev_button.
It's the simplest way to do it and close to blocking it.

Last edited by SpeeDeeR; 01-12-2014 at 22:45.
SpeeDeeR is offline
waza123a
Member
Join Date: Mar 2010
Old 01-14-2014 , 20:58   Re: prevent from duck
Reply With Quote #3

thanks, job done.

Maybe you can help with this too ? http://forums.alliedmods.net/showthread.php?t=233029
__________________
Life is good, sometimes...

Last edited by waza123a; 01-14-2014 at 20:59.
waza123a 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 10:12.


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