okokContract

YouTube Video

Installation Guide

ESX

Execute the following SQL code in your database:

INSERT INTO `items` (`name`, `label`, `weight`) VALUES ('contract', 'Contract', 1);

QBCore

Navigate to qb-core/shared/items.lua and add the following code to it:

['contract'] = {['name'] = 'contract', ['label'] = 'Contract', ['weight'] = 1, ['type'] = 'item', ['image'] = 'contract.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A contract'},

Changing the vehicle name that appears on the contract interface

Open the vehicles.meta file of the desired vehicle, you should change the <gameName>.

Server artifacts

Make sure your server artifacts version is above the 5181.

Last updated