Raised This Month: $ Target: $400
 0% 

How to check is player falling


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 10-03-2014 , 11:54   Re: How to check is player falling
Reply With Quote #1

Check if
PHP Code:
new FloatfFallVelocity;
pev(indexpev_flFallVelocityfFallVelocity); 
is greater than 0.0. Or, you could use the code below
PHP Code:
new FloatfVelocity[3];
pev(indexpev_velocityfVelocity); 
then check if fVelocity[2] is lesser than 0.0.
klippy 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 17:41.


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