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.
Not required but recommended:
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, sfjob, sfpolice and its cores above, but the other normal resources below
ensure sfdoj
Step 3 โก Database
Run query/SQL query and paste below code
CREATETABLE `jobs_doj_category` (`id`int(11) NOT NULL,`name`varchar(64) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;CREATETABLE `jobs_doj_regulations` (`id`int(11) NOT NULL,`name`varchar(128) NOT NULL,`category`int(11) NOT NULL,`money`int(11) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;ALTERTABLE`jobs_doj_category`ADDPRIMARY KEY (`id`);ALTERTABLE`jobs_doj_regulations`ADDPRIMARY KEY (`id`);ALTERTABLE`jobs_doj_category`MODIFY`id`int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;ALTERTABLE`jobs_doj_regulations`MODIFY`id`int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
A co-owner column should be added to the table with vehicles. For example, in ESX, in the owned_vehicles table, add the co-owner column varchar(46) default null.