[b2189] Setting player 'cash' or 'bank amount' stats shows incorrect value after the second change.

Using canary client build 2189 and server build 3404.

Details
On build 2189, setting the player cash or bank amount stat seems to break their respective HUD component after the second stat set.

While StatGetInt() does retrieve the correct amount, the HUD component seems to show a value different by a fixed amount (+140711718551552)

This used to happen when I pass a float value to StatSetInit(), but this is no longer the case.

Screenshots

Repo
I uploaded a resource on github. GitHub - CritteRo/b2189-cashstat-issue: Issue impacting StatSetInit on FiveM b2189.

Running this on clean 3404 server should show the issue.

Duplicate:

1 Like