For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

The installation of the script is extremely easy

  1. Download the script and extract it in your resources

  2. Add the script in your auto start (example: server.cfg)

  3. The script will automatically setup the database, in case it doesn't, you can manually run the files in trackers_creator/sql/ folder

Adding the items - Optional

To add the premade items, you only have to run the file trackers_creator/sql/items_limit.sql or trackers_creator/sql/items_weight.sql depending on your server, if it uses the limit or the weight

The latest version of ESX uses weight

  1. Download the script and extract it in your resources

  2. Add the script in your auto start (example: server.cfg)

  3. The script will automatically setup the database, in case it doesn't, you can manually run the files in trackers_creator/sql/ folder

Adding the items - Optional

To add the new items, you have to edit qb-core/shared/items.lua file and add at the bottom of the table the following code

	['tracker_sender'] = {['name'] = 'tracker_sender', ['label'] = 'Tracker sender', ['weight'] = 500, ['type'] = 'item', ['image'] = 'your_image.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil},
	['tracker_receiver'] = {['name'] = 'tracker_receiver', ['label'] = 'Tracker receiver', ['weight'] = 500, ['type'] = 'item', ['image'] = 'your_image.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil},
	['private_tracker'] = {['name'] = 'private_tracker', ['label'] = 'Private tracker', ['weight'] = 500, ['type'] = 'item', ['image'] = 'your_image.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil},

You are ready to go! Enjoy the script 😁

Optional step

After the database is setup correctly, you can delete the files in trackers_creator/sql/ folder, so the script won't try to setup the database each time you start the script

Last updated