Fix Player control lock and script instability after Superman flight#680
Draft
almul8ab wants to merge 2 commits intomultitheftauto:masterfrom
Draft
Fix Player control lock and script instability after Superman flight#680almul8ab wants to merge 2 commits intomultitheftauto:masterfrom
almul8ab wants to merge 2 commits intomultitheftauto:masterfrom
Conversation
In CHandleSuperman.lua: Implement an "automatic brake" system to slow the player down before a high-speed landing. Use a position warp (setElementPosition) upon landing to force a full reset of the player's state, as a fallback for the missing clearPedTasks function.
Add defensive safety checks to all functions to prevent the script from crashing when receiving unexpected nil values
Contributor
|
I disagree with this PR because you have deleted various comments and other things such as all those blank lines, it makes reviewing a PR harder. Those changes are not relevant to the PR. |
Lpsd
requested changes
Dec 10, 2025
Member
Lpsd
left a comment
There was a problem hiding this comment.
Too many unrelated changes, please fix this PR to only include the relevant changes (don't remove comments/blank lines randomly)...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement an "automatic brake" system to slow the player down before a high-speed landing.
Use a position warp (setElementPosition) upon landing to force a full reset of the player's state, as a fallback for the missing clearPedTasks function.