Raised This Month: $ Target: $400
 0% 

[Solved for now]Player in duct (?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-28-2014 , 14:07   Re: Player in duct (?
Reply With Quote #5

Quote:
Originally Posted by r0ck View Post
Its Ham_Player_Duck but i don't agree with you...
It will detect duck when the player presses duck key and not detect when hes in vent ( duck without pressing the key)

So i would suggest to try getting flags for ducking

Youfunction() if(pev(id, pev_flags) & FL_DUCKIN) // hes ducking

I'm sure it detects player size and not the key so it will work inside vents
Yes,then just check if he is not pressing a key to duck. This should be enough.
HamletEagle 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:15.


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