-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
bugtriageNeeds a preliminary assessment to determine the urgency and required actionNeeds a preliminary assessment to determine the urgency and required action
Description
What happened?
When the 1024 (OVERRIDE_PHYSICS) flag is used on anims, the game adds an animation offset to the ped.
When synced to other players, This offset is applied twice for other players, but only once for the player playing the animation.
This leaves the other player seeing the ped in the wrong spot visually, but can still recognize the player in the correct spot, since hitting the "correct" will hit the player, but hitting the visual ped will do nothing.
Expected result
The offset should be replicated once, or ideally gotten rid of altogether
Reproduction steps
- Have two clients next to each other
- One clients executes the following command
broken_flag = 1024
RegisterCommand('aftest', function()
TaskPlayAnim(PlayerPedId(),
"timetable@reunited@ig_10",
"base_amanda",
5.0, 5.0, -1, broken_flag, 0, false, false, false)
end)- Observe that the ped is shown in a different position between the two clients.
Importancy
Slight inconvenience
Area(s)
OneSync
Specific version(s)
FiveM 3570, Windows Server 22934
Additional information
Credit to Critter for the repro.
alberttheprince
Metadata
Metadata
Assignees
Labels
bugtriageNeeds a preliminary assessment to determine the urgency and required actionNeeds a preliminary assessment to determine the urgency and required action