This is one of the most important parts, since without the dependencies, the resource will never work or not start, here we will list the dependencies with their respective links for you to download and add them to your server.
Step 2 โก Resources in server.cfg
if you are using ESX โก NEVER, but NEVER, you must place the resources above es_extended, if you do this they will never work and will throw errors
The correct order of the resources is as follows, always keeping es_extended and its cores above, but the other normal resources below
ensure sfctab
Step 3 โก Database
Run query/SQL query and paste below code
CREATETABLE `crimetab` (`id`int(11) NOT NULL,`name`varchar(64) DEFAULTNULL,`owner`varchar(64) DEFAULTNULL,`date_creation`varchar(64) NOT NULL,`maxlimit`int(11) NOT NULLDEFAULT6,`points`int(11) NOT NULLDEFAULT0,`mission_active`int(11) NOT NULLDEFAULT0,`mission_started`int(11) NOT NULLDEFAULT0,`mission_ending`int(11) NOT NULLDEFAULT0,`mission_success`int(11) NOT NULLDEFAULT0,`stats`textNOT NULLDEFAULT ('{}'),`updates`textNOT NULLDEFAULT ('{}')) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;CREATETABLE `crimetab_missions` (`id`int(11) NOT NULL,`name`varchar(512) NOT NULL,`description`textNOT NULL,`cost`int(11) NOT NULL,`currency`varchar(16) NOT NULL,`action`varchar(32) NOT NULL,`lasttime`varchar(64) NOT NULLDEFAULT'0',`active`int(11) NOT NULLDEFAULT0,`waiting`int(11) NOT NULLDEFAULT600) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;CREATETABLE `crimetab_players` (`id`int(11) NOT NULL,`playerid`varchar(64) NOT NULL,`crimeid`int(11) NOT NULL,`position`int(11) NOT NULL,`date_creation`varchar(64) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;CREATETABLE `crimetab_updates` (`id`int(11) NOT NULL,`name`varchar(512) NOT NULL,`description`textNOT NULL,`cost`int(11) NOT NULL,`currency`varchar(16) NOT NULL,`action`varchar(32) NOT NULL,`need`int(11) DEFAULT0) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;ALTERTABLE`crimetab`ADDPRIMARY KEY (`id`);ALTERTABLE`crimetab_missions`ADDPRIMARY KEY (`id`);ALTERTABLE`crimetab_players`ADDPRIMARY KEY (`id`);ALTERTABLE`crimetab_updates`ADDPRIMARY KEY (`id`);ALTERTABLE`crimetab`MODIFY`id`int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;ALTERTABLE`crimetab_missions`MODIFY`id`int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;ALTERTABLE`crimetab_players`MODIFY`id`int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;ALTERTABLE`crimetab_updates`MODIFY`id`int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
Example data:
INSERT INTO`crimetab_missions` (`id`, `name`, `description`, `cost`, `currency`, `action`, `lasttime`, `active`, `waiting`) VALUES (1, 'Preparation for Fleeca Bank #1', 'Prepare accordingly for the attack.', 5, 'OCASH', 'fleeca1', '1689009097', 1, 600);INSERT INTO`crimetab_updates` (`id`, `name`, `description`, `cost`, `currency`, `action`, `need`) VALUES (1, 'Increasing the limit #1', 'Increases the member limit by 4 additional slots.', 20, 'OCASH', 'peoplelimit', 0), (2, 'Increasing the limit #2', 'Increases the member limit by 6 additional slots.', 30, 'OCASH', 'peoplelimit2', 1);