Make sure you have this resources installed in your server!
oxmysql.
esxor qbcore (if you have different core name, you must change that in the config file).
zr-multicharacter.
β’ STEP 2: START ORDER
ensure zr-identity
ensure zr-multicharacter
β’ STEP 3: DATABASE
DATABASE FOR QBCORE
CREATE TABLE IF NOT EXISTS `players` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`citizenid` varchar(50) NOT NULL,
`cid` int(11) DEFAULT NULL,
`license` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`money` text NOT NULL,
`charinfo` text,
`job` text NOT NULL,
`gang` text,
`position` text NOT NULL,
`metadata` text NOT NULL,
`inventory` longtext,
`last_updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`citizenid`),
KEY `id` (`id`),
KEY `last_updated` (`last_updated`),
KEY `license` (`license`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
COMMIT;