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

NPC Shooting At Player While Crouching #1

Open
TayMcKenzieNZ opened this issue Feb 19, 2023 · 2 comments
Open

NPC Shooting At Player While Crouching #1

TayMcKenzieNZ opened this issue Feb 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@TayMcKenzieNZ
Copy link

Unfortunately I have found a bug that seems to happen when you are crouching, and an NPC shoots at you - your player will stand up, try to go back into the crouching position, but bug out.

@MadsLeander MadsLeander added the bug Something isn't working label Feb 19, 2023
MadsLeander added a commit that referenced this issue Feb 21, 2023
The issue as described in issue #1 is that the walkstyle get's reset back but before it's applied it collects your walkstyle again (which is crouched) and then saves that for next time you exit crouch. The fix is to not be able to save move_ped_crouched as your walkstyle and not overwriting the saved walkstyle if the new one is nil.
@MadsLeander
Copy link
Owner

This should have been fixed in the newest commit (7a76210). But I'll leave this open until it is confirmed that this fixes the issue.

@TayMcKenzieNZ
Copy link
Author

Will test this now.

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

2 participants