Page cover

πŸ’ΏInstallation

Discover how to install your script.

β€’ STEP 1: DEPENDENCIES

Make sure you have this resources installed in your server!

  1. oxmysql.

  2. esx or qbcore (if you have different core name, you must change that in the config file).

  3. zr-multicharacter.

β€’ STEP 2: START ORDER

ensure zr-identity
ensure zr-multicharacter

β€’ STEP 3: DATABASE

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;

DATABASE FOR ESX

Last updated