Reloading Gun

Started by ItzMcPotato on

Topic category: Advanced modding

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!

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

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.

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... :/

 

Joined Dec 2015
Points:

User statistics:

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

what bug?