> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get player armory weapons

> Retrieve the list of weapons a specific player has stored in a specific armory.

Get a list of weapons of a player stored in a specific armory ID.

<CodeGroup>
  ```lua Export theme={null}
  exports["jobs_creator"]:getPlayerArmoryWeapons(playerId, markerId)
  ```

  ```lua Example theme={null}
  local playerId = 20
  local markerId = 52
  local playerArmoryWeapons = exports["jobs_creator"]:getPlayerArmoryWeapons(playerId, markerId)
  print("Player weapons in that armory")
  print(ESX.DumpTable(playerArmoryWeapons))
  ```
</CodeGroup>

### 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 |


## Related topics

- [Armory](/jobs-creator/server/armory/index.md)
- [Get all armory weapons](/jobs-creator/server/armory/get-all-armory-weapons.md)
- [Remove weapon from armory](/jobs-creator/server/armory/remove-weapon-from-armory.md)
- [Add weapon to armory](/jobs-creator/server/armory/add-weapon-to-armory.md)
- [Prevent Police Weapons from Being Stolen](/jaksam-inventory/guides/block-police-weapon-rob.md)
