Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with running instead of walking when minimizing #786

Open
MrDadosz opened this Issue Jan 24, 2019 · 0 comments

Comments

Projects
None yet
3 participants
@MrDadosz
Copy link

MrDadosz commented Jan 24, 2019

Describe the bug
When player is playing in windowed mode and is using code from below, player will run after defocusing MTA. Look at the video below if you don't understand.

To reproduce

  1. crun bindKey("forwards","down",function() setControlState("walk",true) end)
  2. crun setPedControlState(localPlayer, "forwards", true)
  3. defocus MTA by Alt + Tab/Windows key/clicking on the bottom bar etc.
  4. player will run instead of walking

Expected behaviour
Walking instead of running

Screenshots
https://www.youtube.com/watch?v=shGXk_BN-gk

Version
Multi Theft Auto v1.5.6-release-16068.8.003
Copyright (C) 2003 - 2018 Multi Theft Auto

@qaisjp qaisjp added enhancement bug and removed enhancement labels Jan 24, 2019

@botder botder added this to the Backlog milestone Mar 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.