💡 Installation
Installation guide of MulticharacterV2 Script
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
ResourceSource
ox_lib
Insert SQL
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
es_extended > shared > config > main.lua
Config.Multichar = GetResourceState("esx_multicharacter") ~= "missing"
Config.Identity = false
Replace
Config.Multichar = true
Config.Identity = true
Last updated