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

onClientPlayerStuntFinish's stuntDistance always returns 0 #484

Closed
ArranTuna opened this issue Sep 18, 2018 · 2 comments
Closed

onClientPlayerStuntFinish's stuntDistance always returns 0 #484

ArranTuna opened this issue Sep 18, 2018 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@ArranTuna
Copy link
Collaborator

ArranTuna commented Sep 18, 2018

Describe the bug
onClientPlayerStuntFinish the stuntDistance parameter always returns 0.

To Reproduce
Use the example from http://wiki.mtasa.com/wiki/OnClientPlayerStuntFinish

Expected behavior
To not always return 0.

Screenshots
If applicable, add screenshots to help explain your problem.

MTA Client (please complete the following information):
unstated

MTA Server (please complete the following information):
unstated

Additional context
From https://bugs.mtasa.com/view.php?id=5335

@ArranTuna ArranTuna added the bug Something isn't working label Sep 18, 2018
@qaisjp qaisjp added this to the Backlog milestone Sep 21, 2018
@qaisjp
Copy link
Contributor

qaisjp commented Sep 21, 2018

Callum said:

The distance query for onClientPlayerStuntFinish only works when the player jumps out of the vehicle whilst doing the stunt. Otherwise (without jumping out) it always returns 0.

See video on YouTube: https://www.youtube.com/watch?v=FKBe0wJg_PM

@botder
Copy link
Member

botder commented Jun 9, 2024

Fixed in 1f464d6

@botder botder closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants