> 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/remove-weapon-from-armory.md).

# Remove weapon from armory

To add a weapon in a marker ID for a specific player

### Export

```lua
exports["jobs_creator"]:removeWeaponFromArmory(markerId, weaponId)
```

#### Parameters

| Name       | Data Type | Description                                                                                       |
| ---------- | --------- | ------------------------------------------------------------------------------------------------- |
| `markerId` | integer   | The marker ID                                                                                     |
| `weaponId` | integer   | Weapon ID in the database, can be seen in `exports["jobs_creator"]:getAllArmoryWeapons(markerId)` |

#### Return value

| Name           | Data Type | Description                     |
| -------------- | --------- | ------------------------------- |
| `isSuccessful` | boolean   | If the weapon is removed or not |

### Example

```lua
local markerId = 15
local weaponId = 356

local success = exports["jobs_creator"]:removeWeaponFromArmory(markerId, weaponId)

print(success)
```
