# Register On Weapon No Ammo

{% hint style="info" %}
This node was originally created to cover instances where weapons created using **Spawn Mode Object** might not trigger the **On Weapon No Ammo** Event, but they do, so it's currently not needed.
{% endhint %}

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-b4d65b9425608dc9f3d5db57a15e8088c246a6e7%2Fregister-on-weapon-no-ammo.png?alt=media)

## Description

(Registers a weapon so an) Event executes when the given *Weapon* runs out of ammo.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input  | Type   | Required | Description                                     |
| ------ | ------ | -------- | ----------------------------------------------- |
| Weapon | Weapon | Yes      | Weapon to register for On Weapon No Ammo event. |

## Outputs

| Output | Type   | Description |
| ------ | ------ | ----------- |
| Player | Object | Deprecated. |
| Weapon | Object | Deprecated. |

\
\
**Contributors**

AddiCt3d 2CHa0s\
Okom\
Jordan9232
