Drug Van

A simple but effective resource for allowing players to produce illegal items.

Info

Drug Vans allows you to configure items for production while seated in the back of a van.

All recipes, van models and police jobs can be configured.

Multiple required items can be configured per recipe, with individual values for: required, remove_on_fail, remove_on_success.

A recipe can be configured to restrict vehicle speed while cooking, with real repercussions for exceeding the limit.

Varying methods of failure can lead to removal of requirement items, and an explosion can be configured (with a delay, and a warning) on failure.

Police notifications can be configured for both suspicious activity detected by peds, and explosions detected by peds.

Check the Cookables Documentation for more explanation through config commenting.

Setup

Installation

  • Extract the resource into your resources/ directory.

  • Add start ti_drugVaninto your server.cfg, below start ti_utils.

  • Check all files in the data/ directory. This is the folder for all configuration files.

  • Check your server console after starting this resource. Items will be automatically added to your servers shared items list from the items defined in data/items.lua, and may require a restart. A debug message will notify you of required actions.

  • No further installation steps are required.

Dependencies

  • Otherwise, default installations of either qb-core or ESX by txadmin recipes.

Configuration

Conflicts

  • None known.

Last updated