---
description: Installation guide of MulticharacterV2 Script
---

# 💡 Installation

The script is delivered divided into qb and esx and in the qb version it is workable for qb and qbox and for esx it is workable for the esx framework This installation guide covers both ESX and QBCore/QBOX frameworks.

***

#### Install Dependencies <a href="#install-dependencies" id="install-dependencies"></a>

ResourceSource

ox\_lib

[Download](https://github.com/overextended/ox_lib/releases)

#### Insert SQL <a href="#insert-sql" id="insert-sql"></a>

Run the `insert-me.sql` file in the script or the sql file copied directly from here and add it to your package

```

CREATE TABLE IF NOT EXISTS `fast-multicharacterv2-slots` (
  `identifier` varchar(255) NOT NULL,
  `slot` int(11) DEFAULT 1,
  PRIMARY KEY (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;


CREATE TABLE IF NOT EXISTS `fast-multicharacterv2-codes` (
  `code` varchar(255) NOT NULL,
  `slot` int(11) DEFAULT 1,
  `active` tinyint(1) DEFAULT 1,
  PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;



CREATE TABLE IF NOT EXISTS `fast-multicharacterv2-transaction` (
  `transactionId` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;


ALTER TABLE users ADD nationality VARCHAR(255);


```

## For ESX <a href="#for-esx" id="for-esx"></a>

`es_extended > shared > config > main.lua`

```
Config.Multichar = GetResourceState("esx_multicharacter") ~= "missing"
Config.Identity = false
```

Replace

```
Config.Multichar = true
Config.Identity = true
```
