Env: Canary, Onesync, 1355, Artifact 4225
If loading a networked anim scene, the following will not work with onesync enabled.
local animscene = Citizen.InvokeNative(0x1FCA98E33C1437B3, "[email protected]@[email protected]", 2, "PB_MAIN", true, true) _IsAnimSceneLoaded = function(animscene) return Citizen.InvokeNative(0x477122B8D05E7968, animscene, true, false) --return Citizen.InvokeNative(0x477122B8D05E7968, animscene, false, false) end print('LoadAnimScene(animscene)') LoadAnimScene(animscene) while not _IsAnimSceneLoaded(animscene) do Citizen.Wait(10) end print('LOADED')
The above code works with onesync disabled and the anim scene is networked between clients. In order for it to load with onesync, we have to pass p1 and p2 as false, however the animations are teleported.
Player 1: See’s the can can dancers dancing around stage in st.denis.
Player 2: Sees the dancers but they are teleported around stage and not doing any movement.