Jump to content
RAGE Multiplayer Community

setMoney clientside function not working


Recommended Posts

Hi. so i want to display a value in the money section when you press 'ESC'

I used the function setMoney and called it like this in a clientside script:

yE6IxoH.png

Then in game, it will simply not appear. No errors or something like that

1u5XdQk.png

Is there a way to display the money there?

Note: I've made the debug. The functon IS CALLED but it just won t work

Edited by Vennox
Link to post
Share on other sites
29 minutes ago, MrPancakers said:

You don't use setMoney to do that

mp.game.stats.statSetInt(mp.game.joaat('SP0_TOTAL_CASH'), money, true);

if I remember correctly this will change that value

It works perfecttly, thanks.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...