get_user_buttom
PHP Code:
Im trying To do if a user isnt Movieng The Make Him Invisble But If a User Moves make him Visble. |
Re: get_user_buttom
Define what? Do you only want if user moving via his own buttons to be visible or also visible if falling?
|
Re: get_user_buttom
Your code won't work, check this (ConnoMcLeod's Furien):
PHP Code:
|
Re: get_user_buttom
Quote:
2)His own buttoms And when Hes Not Moving He get invisble. |
Re: get_user_buttom
This will only detect moving while user pressing buttons (no falling/surfing/pushed etc).
http://forums.alliedmods.net/showpos...62&postcount=9 |
Re: get_user_buttom
Do You think this Work?
PHP Code:
|
Re: get_user_buttom
Test it.
|
Re: get_user_buttom
Try this. I added extra conditions so if a user is walking\running and collides with a wall to stop him from moving while still holding the move buttons he will become visible again. Remove the client_prints after you test it.
Edit: Fixed code so player visible when moving and invisible when not moving. It was originally done vice versa. PHP Code:
|
Re: get_user_buttom
Quote:
|
Re: get_user_buttom
Quote:
Bugsy updated his code. |
| All times are GMT -4. The time now is 01:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.