> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/jobs-creator/server/armory/get-player-armory-weapons.md).

# Get player armory weapons

To get a list of weapons of a player stored in a specific armory ID.

### Export

```lua
exports["jobs_creator"]:getPlayerArmoryWeapons(playerId, markerId)
```

#### Parameters

| Name       | Data Type | Description      |
| ---------- | --------- | ---------------- |
| `playerId` | integer   | Player server ID |
| `markerId` | integer   | The marker ID    |

#### Return value

| Name                  | Data Type | Description                                                         |
| --------------------- | --------- | ------------------------------------------------------------------- |
| `playerArmoryWeapons` | table     | List of all weapons contained in the marker deposited by the player |

### Example

```lua
local playerId = 20
local markerId = 52

local playerArmoryWeapons = getPlayerArmoryWeapons(playerId, markerId)

print("Player weapons in that armory")
print(ESX.DumpTable(playerArmoryWeapons))
```
