05.06.2013, 14:06
You could use the above given stock to get the speed on a regular basis, save it somewhere, check using gettickcount the time passed and set your own stamina allowance. If it exceeds a particular value for some (max sprint allow time), set the velocity to (player - velocity) - 1 or 0!

