Open francodamian opened 3 months ago
We already try some things
none of them work
Mod colors aren't part of the sync data so this is expected behavior. You either need to use other natives like GetVehicleColours
(still differentiates between color types) or sync this data yourself (via state bags for example).
Mod colors aren't part of the sync data so this is expected behavior. You either need to use other natives like
GetVehicleColours
(still differentiates between color types) or sync this data yourself (via state bags for example).
Is it possible to add mod colors into the sync data?
What happened?
Hi, we have been having reports of players losing the color type of their vehicle, in testing we discovered that the native functions GetVehicleModColor_1 and GetVehicleModColor_2 are not synchronizing between players.
Here are two videos, both players have a loop with the following code, which is the one you see in the console while printing
Citizen.CreateThread(function() while true do local cVeh = GetVehiclePedIsIn(PlayerPedId()) print(GetVehicleModColor_1(cVeh)) Wait(1000) end end)
https://github.com/citizenfx/fivem/assets/32750362/1a86bd21-8ff3-48f2-9442-9b271e781d88 https://github.com/citizenfx/fivem/assets/32750362/49cbfdca-5197-4895-8cad-5a8839ca5304
Expected result
the same value in both players
Reproduction steps
Importancy
Unknown
Area(s)
FiveM, OneSync, Natives
Specific version(s)
3095 - b8509 artifacts (also try old ones, still broken)
Additional information
No response