# Special Item

### Protected Item

Behavior:

* No one can rob this item
* Weapon with protected attachment can't be robbed.
* If enabled in config, police can take this item.
* Player can drop or give this item.
* Can be removed by external script with `RemoveItem` function.
* Will be removed with /clearinv command.

```lua
exports['ak47_inventory']:AddItem(source, 'weapon_pistol', 1, nil, {protected = 1})
```

### Locked Item

Behavior:

* Item can't be moved to any other inventory
* Player can't drop or give this item
* Weapon with locked attachment can't be robbed/moved/droped.
* Can be removed by external script with `RemoveItem` function.
* Will be removed with /clearinv command.

```lua
exports['ak47_inventory']:AddItem(source, 'weapon_pistol', 1, nil, {locked = 1})
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.menanak47.com/esx/ak47_inventory/guides/special-item.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
