Vennox Posted November 2, 2019 Posted November 2, 2019 (edited) 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: Then in game, it will simply not appear. No errors or something like that 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 November 2, 2019 by Vennox
MrPancakers Posted November 2, 2019 Posted November 2, 2019 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
Vennox Posted November 2, 2019 Author Posted November 2, 2019 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now