Reloading Gun

Started by ItzMcPotato on

Topic category: Advanced modding

Last seen on 08:58, 8. Apr 2020
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Reloading Gun

Hello! I would like to know if I can make a gun that has a certain amount of ammo and can be reloaded. Thank you in advance for helping me!

Last seen on 03:12, 24. Feb 2024
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Even though Im not an
Tue, 05/24/2016 - 22:01

Even though Im not an advanced modder, I think you could use some variables. Or on the other hand you could somehow make a custom code or find a custom code for your needs.

Hope this helps... :3

Last seen on 00:44, 29. Nov 2022
Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you don't know code you
Tue, 05/24/2016 - 23:23

if you don't know code you could make the gun change into another item (that looks the same) but doesn't shoot. Then you can make it so when you right click with the "unloaded gun" it will change into the normal gun again if you have the ammo item in your inventory, you can also make it consume the ammo when the change happens.

Last seen on 08:58, 8. Apr 2020
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a bug and this
Mon, 06/06/2016 - 14:39

There is a bug and this cannot be done... :/

 

Last seen on 00:44, 29. Nov 2022
Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what bug?
Mon, 06/06/2016 - 17:25

what bug?