Detect player moving
I don't know how to detect if player runs or walks ( not including IN_JUMP IN_FORWARD etc.. ) , can someone give me advise? :)
|
Re: Detect player moving
Ohh I can detect it by player's velocity :) :crab:
|
Re: Detect player moving
You can hook CmdStart for when IN_JUMP/IN_FORWARD/IN_WHATEVER are being used for checking velocity (instead of prethink).
|
Re: Detect player moving
Best efficient way I could think of.
Code:
|
Re: Detect player moving
That does not detect if someone is moving. That detects if someone has moved (in the last 5 seconds). Totally different.
|
Re: Detect player moving
Right.
|
Re: Detect player moving
Thanks guys, but I think the best way is to use engine function: get_speed(id) > 0
|
Re: Detect player moving
Quote:
|
Re: Detect player moving
Quote:
PHP Code:
|
Re: Detect player moving
|
| All times are GMT -4. The time now is 04:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.