Jump to content

ammunition 0


#RooTs

Recommended Posts

Check if the remaining ammo is 1, and if it is - prevent the player from firing it and notify them that their weapon is out of ammo.

Just subtract 1 from the ammo you show on the HUD, and it'll look as if it has 0 ammo. There are some other ways to do it as well I guess.

Link to comment
Check if the remaining ammo is 1, and if it is - prevent the player from firing it and notify them that their weapon is out of ammo.

Just subtract 1 from the ammo you show on the HUD, and it'll look as if it has 0 ammo. There are some other ways to do it as well I guess.

give-me example of code "noTakeWeapon" in ammo 0

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...