Hello.
So the bug is that when you use the native SetStatInt to change the players’ money, it shows a weird number, but only on builds that other than the normal build (1604)
- Client
production
and FXServer version -3539
- What you expected to happen - Change the money to the argument value of the native, as it does in build 1604.
- What actually happens - Changes it to a weird huge number + the value you passed in the native (same for the bank money).
- Category of bug (eg. client, server, weapons, peds, native): client.
- Reproducible steps, preferably with example script(s)
Step 1: Enter a server one time with build 1604, the other time with higher, like 2060 or so.
Step 2: Start resource runcode (just an example you can also do it by adding the code itself as a resource).
Step 3: Invoke the next natives:
StatSetInt("MP0_WALLET_BALANCE", 10000, true) -- CASH
StatSetInt("BANK_BALANCE", 10000, true) -- BANK
You would see it works well on build 1604, a weird big number on higher builds.
This is how it looks like in build 2060 with only 300 cash:
( StatSetInt("MP0_WALLET_BALANCE", 300, true)
)