# NPC Selling

{% embed url="<https://youtu.be/drVi8symz_M?si=a3VLzKb58mwP0kCO>" %}

{% embed url="<https://youtu.be/KsyZl6-EiaY?si=tDGJGWNKdSIVSjCX>" %}

{% embed url="<https://www.youtube.com/watch?v=zf3Py_D4dJQ>" %}

## 1. Download Script

This can be downloaded from your granted assets tab on the[ **CFX Portal**](https://portal.cfx.re/)**.**

## 2. Download Dependencies

The scripts below are required in order for this script to function properly! All are free to download.

* [**Goats Library**](https://portal.cfx.re/)
* [**OX Lib**](https://github.com/GoatsWorldx/ox_lib)
* [**Legends Keypress**](https://github.com/GoatsWorldx/legends-keypress)

## 3. Ensure Order

This is very important! You can use folders, as long as the scripts start in this order.

```
ensure vorp_core
ensure ox_lib
ensure g_lib
ensure g_npcsells
```

## 4. Install Database

The database file comes included in the download labeled **"CREATE DB".**
