Quote:
Originally Posted by r0ck
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.