> For the complete documentation index, see [llms.txt](https://docs.northscripts.dev/site/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.northscripts.dev/site/documentation/resources/ox-inventory-rework/player-guide/safes.md).

# Safes

1. **Use** the *Packaged Safe*. You carry it (**Y** to place it, **J** to repack it).
2. Place it on a flat surface and **set a PIN code** (at least 4 digits).
3. The safe starts **locked**.

Options through ox\_target:

| Option                   | Who                                                                              |
| ------------------------ | -------------------------------------------------------------------------------- |
| **Open**                 | anyone, when it is unlocked                                                      |
| **Unlock**               | anyone who knows the code                                                        |
| **Lock**                 | anyone nearby                                                                    |
| **Change code**          | owner only, with the safe open                                                   |
| **Install bolts**        | owner. Needs a **drill** and uses **4 bolts** and **1 install kit**. Takes 12 s. |
| **Remove bolts**         | owner. Needs a **drill**. Takes 8 s.                                             |
| **Move**                 | owner, when it is not bolted down                                                |
| **Uninstall and repack** | owner, when it is not bolted down. Takes 6 s.                                    |

* Moving, repacking and handling the bolts all require the safe to be **empty, unlocked and closed**.
* A repacked safe keeps its owner, code and contents ID.
* **5 wrong codes** lock that player out of the safe for 60 seconds.
* The owner is the player who placed the safe first.
