-
-
Notifications
You must be signed in to change notification settings - Fork 496
Fix IsPedInVehicle synchronization issue between server and client #4420
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
Open
+3
−1
Conversation
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
isPedInVehicle was returning true on the server side even if the ped was not in the vehicle. Here we had to check if there was a groove in the vehicle, and the values were returning differently between the client and server.
@Serius41
Serius41
changed the title
(削除) Update CLuaPedDefs.cpp (削除ここまで)
(追記) Fix IsPedInVehicle synchronization issue between server and client (追記ここまで)
Sep 5, 2025
FileEX
FileEX
requested changes
Sep 5, 2025
FileEX
FileEX
reviewed
Sep 5, 2025
@FileEX
FileEX
added
backwards-incompatible
Should be merged after the release of 1.7.1
bugfix
Solution to a bug of any kind
labels
Sep 5, 2025
@Serius41 Do you have plans to respond to the feedback, or was this PR abandoned the day you opened it?
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.
Uh oh!
There was an error while loading. Please reload this page.
Fix IsPedInVehicle synchronization issue between server and client
Fixes issue where setPedEnterVehicle would cause server-side IsPedInVehicle
to return true before ped actually entered the vehicle, while client-side
correctly returned false until ped was physically in the vehicle.
bug:
11
fixed:
22