> For the complete documentation index, see [llms.txt](https://grootdev.gitbook.io/groot-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://grootdev.gitbook.io/groot-development/assets/g-giftcard/installation.md).

# Installation

1. Download the purchased resource from [keymaster](https://keymaster.fivem.net/asset-grants) - the official site of fivem with purchased resources.
2. Unzip the  `g-giftcard`
3. Create a Folder - In your resources directory, create a new folder and name it `[g-scripts]`if it has not already been created.
4. Drag `g-giftcard` in to `[g-scripts]`

## Arrangement

Add this line in your <mark style="color:red;">server.cfg</mark> file

```
ensure [g-scripts]
```

## Compatible Inventories

{% hint style="warning" %}
The following inventories are compatible by default. If you're using a different one, you can adjust the inventory files to ensure compatibility.
{% endhint %}

| Inventory     | Link                                               |
| ------------- | -------------------------------------------------- |
| ox\_inventory | <https://github.com/overextended/ox_inventory>     |
| qb-inventory  | <https://github.com/qbcore-framework/qb-inventory> |

## Items

<details>

<summary>qb-inventory item</summary>

```lua
g_giftcard = {
   name = 'g_giftcard',
   label = 'Gift Card',
   weight = 300,
   type = 'item',
   image = 'g_giftcard.png',
   unique = true,
   useable = true,
   shouldClose = true,
   description = "Gift Card"
}

```

</details>

<details>

<summary>ox_inventory item</summary>

```lua
["g_giftcard"] = {
   label = "Gift Card",
   weight = 2,
   stack = false,
   close = true,
   description = "Gift Card",
}
```

</details>
