> ## 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 all armory weapons

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

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

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

  ```lua Example theme={null}
  local markerId = 52
  local allWeapons = exports["jobs_creator"]:getAllArmoryWeapons(markerId)
  print("All players' weapons in that armory")
  print(ESX.DumpTable(allWeapons))
  ```
</CodeGroup>

### Parameters

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

### Return value

| Name            | Data Type | Description                                 |
| --------------- | --------- | ------------------------------------------- |
| `armoryWeapons` | table     | List of all weapons contained in the marker |


## Related topics

- [Armory](/jobs-creator/server/armory/index.md)
- [Remove weapon from armory](/jobs-creator/server/armory/remove-weapon-from-armory.md)
- [Get player armory weapons](/jobs-creator/server/armory/get-player-armory-weapons.md)
- [Add weapon to armory](/jobs-creator/server/armory/add-weapon-to-armory.md)
- [Weapon Attachments](/jaksam-inventory/guides/weapon-attachments.md)
