# Installation

### Step 1

Run the **qb.sql** file located in the resource folder in your database!\
Or execute the SQL:&#x20;

```sql
ALTER TABLE `players` ADD COLUMN `lvs_animation` longtext COLLATE utf8mb4_bin;
ALTER TABLE `players` ADD COLUMN `lvs_walking_style` longtext COLLATE utf8mb4_bin;
ALTER TABLE `players` ADD COLUMN `lv_expression` longtext COLLATE utf8mb4_bin;

CREATE TABLE IF NOT EXISTS `lvs_animation_favorite` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `identifier` varchar(100) NOT NULL,
    `animation_name` varchar(100) NOT NULL,
    UNIQUE KEY `id` (`id`),
    KEY `identifier` (`identifier`)
    ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
```

***

### Step 2

Drag And Drop, put `lvs_animations` in `resources` folder

***

### Step 3

Install the dependencies if they are not installed.

<table><thead><tr><th width="234">resource</th><th>url</th></tr></thead><tbody><tr><td>oxmysql </td><td><a href="https://github.com/overextended/oxmysql">https://github.com/overextended/oxmysql</a></td></tr><tr><td>ox_lib</td><td><a href="https://github.com/overextended/ox_lib">https://github.com/overextended/ox_lib</a></td></tr></tbody></table>

***

### Step 4

Now configure and translate your resource.

<details>

<summary>Config files</summary>

`/lvs_animations/configs/config.lua`\
`/lvs_animations/configs/animations.lua`\
`/lvs_animations/configs/locales.lua`\
`/lvs_animations/html/configs/config.js`\
`/lvs_animations/html/configs/locales.js`

</details>

***

### Step 5

Start The Script Start in `server.cfg` , `ensure lvs_animations.`
