is user on air..
I need to detect if user is on air.. :o
|
Re: is user on air..
Not sure :
Code:
|
Re: is user on air..
@arkshine - Is correct.
Hum...but if player is in water is detected like be in air so you must add Code:
...&& !(flags & FL_INWATER)) |
Re: is user on air..
I usually use what arkshine put but depending on what you're using you may need the alternative if( (pev(id, pev_flags) & IN_JUMP) ) to get right as they go in air just so you know the other method if you didn't already.
|
Re: is user on air..
Quote:
|
Re: is user on air..
errrrg I meant pev_button not flag :X
|
| All times are GMT -4. The time now is 10:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.