πΏInstallation
Discover how to install your script.
β’ STEP 1: DEPENDENCIES
Make sure that script folder name is zr-identity and that you have the following resources installed in your server!
oxmysql.
esx or qbcore (if you have different core name, you must change that in the config file).
zr-multicharacter. (both versions are compatible)
β’ 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;Last updated
