# Give Player New Weapon

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-89d58f62198fd71e000acd4d3566477c1f8c522e%2Fgive-player-new-weapon.png?alt=media)

## Description

Attempts to create a new weapon of the Weapon Type and add it to the Player's inventory. Optionally blocks script execution until the operation is finished. If the player is in a vehicle, this function is ignored.

## 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 weapon to. |
| Weapon                 | Object  | Yes      | Which weapon to give to player. |
| Weapon Addition Method |         | Yes      |                                 |
| Wait Until Completion  | Boolean | Yes      |                                 |

## Outputs

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

\
\
**Contributors**

AddiCt3d 2CHa0s
