📙 Usage

To use HapticLib in your own scripts there are a few things you must first do.

In your FXManifest.lua you want to add in the depedancy.

```
dependencies {
    "HapticLib",
}
```

To initialise the script, in whatever file you want to use the library functions you must import the library.

Add this snippet to the top of your file.

```
local QBCore = exports['qb-core']:GetCoreObject()
local HapticLib = exports.HapticLib:StartLib()
```

Last updated