hi theres some thing wrong BulletCollisions.Bullet_AMMO--; print("YOU NOW HAVE "+ BulletCollisions.Bullet_AMMO +" Bullets"); } } }
when i out this code it does go up but it doesnt update it self and stays that number.. for example you get 20 grenades and throw 10, it stays at 20 PLEASE HELP
asked Apr 08 '10 at 07:06 AM
Try this script:
Whenever you fire it outputs the amount of ammo you have and updates it on the screen. Note: This does not shoot a projectile. It just keeps track of your ammo.