> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/inventory/add-player-ammo-unequipped.md).

# Add Player Ammo - Unequipped

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-a8ebfcdfbc0e32129029816a0381da9a03e386a6%2Fadd-player-ammo-unequipped.png?alt=media)

## Description

Adds a percentage of total ammo to the weapon the Player has in their backpack. Refill Percent takes a value between 0 and 100.

## 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                                                  |
| -------------- | ------ | -------- | ------------------------------------------------------------ |
| Player         | Object | Yes      | Which player to give ammo to.                                |
| Refill Percent | Number | Yes      | What percentage of weapon's total ammo to add to the weapon. |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| N/A    | N/A  | N/A         |

\
\
**Contributors**

AddiCt3d 2CHa0s
