> For the complete documentation index, see [llms.txt](https://infinity-store.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinity-store.gitbook.io/docs/scripts/mortar/installiation.md).

# Installiation

1. Download it from <https://keymaster.fivem.net/>.
2. Place inside the resources folder.
3. If you want to use the mortar as an item, you need to add it in your inventory system (we added an item image you can find it in the images folder, if you want to use it, add it to your inventory system).
4. You can customize the script in the config files.

The script contain the mortar prop.

If you want to use a custom core, you need to edit the bridge files.

<figure><img src="https://2493357210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZk8yF6Ll4dFnt4A1EuW1%2Fuploads%2FN3qTWtStznEJiOELrZXd%2Fimage.png?alt=media&amp;token=020ef0df-5945-42f8-9c12-d95ebb683e33" alt=""><figcaption><p>Folder structure</p></figcaption></figure>

## Item

If you want to use items, create the item in your inventory system and enable it the configs/config.lua (We have already prepared an image in the 'item\_image' folder.).

#### OX Inventory item template

```lua
["mortar"] = {
   label = "Mortar",
   weight = 5,
   stack = true,
   close = true,
},	
```

#### QB Inventory item template

```lua
mortar = {
   name = "mortar",
   label = "Mortar",
   weight = 5,
   type = "item",
   image = "mortar.png",
   unique = true,
   useable = true,
   shouldClose = true,
},

```
