Raised This Month: $ Target: $400
 0% 

Player walk distance


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
spag
Junior Member
Join Date: Feb 2013
Old 05-18-2014 , 12:42   Re: Player walk distance
Reply With Quote #7

Quote:
Originally Posted by Bugsy View Post
This will display distance walked and reset to 0 when the player either presses jump or is not on the ground for whatever reason (walks off ledge etc).

If this isn't what you want, it can be tweaked.
  • Did you want to reset distance if player runs?
  • Did you not want to reset if player walks off ledge etc and only reset when manually jumping?
Nope, i wont reset distance when player jump. But it doesn't matter.
Look, with this code, i get distance when

1) Player walk with button W + SHITF
2) Player walk only with button W
3) Player walk when are SQUAT
4) Player walk when SQUAT + SHITF
5) Player swimming?

If yes, so everything okay! But i have another question, when player surfing or use bhop still get distance?

Last edited by spag; 05-18-2014 at 13:33.
spag is offline
 



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 09:42.


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