How to make a money function?

Started by DatZypher on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a money function?

How do I make it where I add a custom hud that displays text on how much money you have and it will change depending on when you buy something and regain money when you sell that thing and the text in the hud will change depending on those stuff...

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your gonna need to make a…
Sun, 05/14/2023 - 04:46

Your gonna need to make a player persistent number variable money.Then your gonna create a procedure to make the variable to a string in a return procedure.Make a overlay and click on the T shaped button and click on the pencil with a blue background and select the name of the procedure where you have the return block

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it is possible can you…
Sun, 05/14/2023 - 04:54

If it is possible can you pls provide any screenshots... thank you

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Or explain it like more…
Sun, 05/14/2023 - 11:16

Or explain it like more simple cause I a not that advanced

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 copy and paste the link…
Sun, 05/14/2023 - 14:15

 copy and paste the link because its bugged

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 But I don't see the return…
Wed, 03/06/2024 - 23:09

 But I don't see the return Procedure in my mcreator