How to check for...
I know how FL_ONGROUND checks to see if your on the ground, but I want to know how you would check if your on the ground or at the peak of a jump etc, so basically your not moving along the z-axis, if its possible.
|
Code:
|
Thanks.
|
While Im at it, how do you check for horizontal speed, like running and strafing etc? It looks like it would be completely different compared to the above. After searching over 100 plugins, there isnt any code I could use as an example.
|
lawl
|
Sorry, I should of been more specific in the first place. When checking the horizontal speed, I was thinking more like a specific speed, like if they were travelling slower than a certain amount etc. Thanks for trying.
|
Here is an simple example. It checks the velocity of X, Y, and Z and prints them.
Code:
Edit: This one add the velocity of X, Y, and Z. Thought it might be helpful. Code:
|
|
Thanks everyone. +karma for you all :)
|
| All times are GMT -4. The time now is 15:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.