How do I stop a player from sprinting?
#5

Alternatively, you could look into the following functions:

GetPlayerVelocity
SetPlayerVelocity

However this would most certainly require a loop and thus may not be desirable because of performance related issues. Up to you.

EDIT:

Speaking of which, you probably should make sure to detect the EXACT speed of sprinting, because I am unaware if car surfing or other sorts of movement are considered velocity.
Reply


Messages In This Thread
How do I stop a player from sprinting? - by Dokins - 16.02.2015, 17:34
Re: How do I stop a player from sprinting? - by bigboy81 - 16.02.2015, 17:38
Re: How do I stop a player from sprinting? - by Dokins - 16.02.2015, 17:42
Re: How do I stop a player from sprinting? - by bigboy81 - 16.02.2015, 17:50
Re: How do I stop a player from sprinting? - by Extremo - 16.02.2015, 18:54
Re: How do I stop a player from sprinting? - by xVIP3Rx - 16.02.2015, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)