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

fix(client): super jump #800

Merged
merged 3 commits into from
Apr 13, 2023
Merged

fix(client): super jump #800

merged 3 commits into from
Apr 13, 2023

Conversation

ChatDisabled
Copy link
Contributor

Still kind of confused on the stamina bug part since this 100% works on both FiveM and RedM. Since all natives used needs to be ran on each frame there is no need to disable them. This means we could also put clearPersistentAlert behind the while loop so it automatically gets ran when it gets disabled.

SetPedMoveRateOverride only gets set at 1.75 max in decompiled scripts in both FiveM and RedM. Unsure where the 10.0 comes from. Definitely works in FiveM though but seems to be some kind of placebo affect in RedM? Otherwise might need to test with Citizen.Invoke.

Get the player ped every frame in the odd chance the ped changes because of death etc👍🏼.

@ChatDisabled ChatDisabled changed the title Super jump fix(client): super jump Apr 12, 2023
plus changed the SetPedMoveRateOverride to match what the doc states as the max value
@tabarra
Copy link
Owner

tabarra commented Apr 13, 2023

Thanks ❤️

@tabarra tabarra merged commit 5de36fd into tabarra:develop Apr 13, 2023
@ChatDisabled ChatDisabled deleted the superJump branch April 13, 2023 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants