Open mcNuggets1 opened 1 month ago
Has this ever worked properly or did this start occuring recently? Could be associated with https://github.com/citizenfx/fivem/commit/eb9530e53ae844e68b7d335a2b380ba2fc0d29fe
I am been working on this system for months. It was always like this the time working on it.
What happened?
For the client, the correct behaviour happens. The player get's put into the standing upright position and is able to perform any task from then on.
But for other players, thats a different story. If for some reason the cleared player is slowly getting up instead of forced into standing upright.
This produces a lot of issues down the line and animation quirks. It's a desync issues that should get adressed imo.
Local:
For other player: player is within the standing up animation, while the client is in reality already in the desired anim.
Expected result
No desync
Reproduction steps
local playerPed = PlayerPedId() ClearPedTasksImmediately(playerPed) TaskPlayAnim(playerPed, "youranimdict", "youranim", 4.0, 2.0, -1, 1 + 131072 + 262144, 0.0, false, false, false)
-- while ragdolled with SetPedToRagdoll or falling etc. Just obstructed in any way while running the code.
Importancy
Slight inconvenience
Area(s)
FiveM, FXServer
Specific version(s)
FiveM
Additional information
No response