Skip to content

Releases: it-scripts/it-drugs

v1.4.4

30 May 00:04

Choose a tag to compare

v1.4.4

Fix the player job getter for selling

Files to change:

  • All files in the server folder
  • version

Bug Fixes

  • The script to get the players and jobs correctly

Full Changelog: v1.4.3...v1.4.4

v1.4.3

09 Apr 16:33

Choose a tag to compare

v1.4.3

Fix the GetPlayerJob error

Files to change:

  • All files in the server folder
  • version

Bug Fixes

  • Fix the GetPlayerJob error with it_bridge

Changes

What's Changed

New Contributors

Full Changelog: v1.4.2...v1.4.3

v1.4.2

03 Apr 18:55

Choose a tag to compare

v1.4.2

This hotfix for the new it_bridge update

Files to change:

  • All files in the client folder
  • All files in the server folder
  • version

Bug Fixes

Changes

  • Move give item exports to the server side of the script

Full Changelog: v1.4.1...v1.4.2

v1.4.1

11 Mar 00:13
7fd0704

Choose a tag to compare

v1.4.1

This hotfix fixes the negativ health bug and brings a new feature

Before updating to this version please check:

https://github.com/it-scripts/it-drugs/releases/tag/v1.4.0

Files to change:

  • All local files
  • server/sv_planting.lua
  • server/sv_selling.lua
  • client/cl_menus
  • client/cl_selling
  • fxmanifest.lua
  • version

Bug Fixes

  • Fix negativ health bug

Changes

What's Changed

Full Changelog: v1.4.0...v1.4.1

v1.4.0

09 Mar 23:44
9f20db7

Choose a tag to compare

v1.4.0

This update implements it_bridge and fixes bugs regarding to ox_inventory and ND_Core and everything else!

You will now need the it_bridge resource:

https://it-scripts.tebex.io/package/6706602

IMPORTANT

If you are using ox_inventory please update all it-drugs items!

You can find the new list in the docs:
https://docs.it-scripts.com/it-drugs/installation#items-for-it-drugs

Also you have to update your database please execute these commands:

ALTER TABLE drug_plants ADD COLUMN IF NOT EXISTS dimension INT(11) NOT NULL DEFAULT 0;
ALTER TABLE drug_processing ADD COLUMN IF NOT EXISTS dimension INT(11) NOT NULL DEFAULT 0;

Make also sure that the name of the it-drugs folder ist it-drugs

Files to change:

  • Please update all files

(You have to replace your config.lua)

Bug Fixes

  • Fix selling money type bug
  • Remove duplicated loop
  • Fix selling issues

Changes

  • Remove intern bridge
  • Implement it_bridge Resource
  • Update Notifications
  • Update TextUI
  • Update Version Check
  • Update sql table
  • Remove not working features
  • New Startup Message

What's Changed

Full Changelog: v1.3.1...v1.4.0

v1.3.2

14 Jan 02:38
fcb1edb

Choose a tag to compare

v1.3.2

This updates fixes the max plant issues and some errors regarding to qb-core and ox_inventory

IMPORTANT

If you are using ox_inventory please update all it-drugs items!

You can find the new list in the docs:
https://docs.it-scripts.com/it-drugs/installation#items-for-it-drugs

Make also sure that the name of the it-drugs folder ist it-drugs

Files to change:

  • Please update all files

(You don´t have to replace your config.lua)

Bug Fixes

  • The script is now counting the plants of the player
  • Old ox_inventory version should no work with it-drugs

Changes

What's Changed

Full Changelog: v1.3.1...1.3.2

v1.3.1

17 Dec 01:44
5096fab

Choose a tag to compare

v1.3.1

This updates fixes some errors and added all new drugs to the seed dealer

IMPORTANT

If you are using ox_inventory please update the drug items

You have to add consume = 0 to every drug!!

["cocaine"] = {
    label = "Cocaine",
    weight = 20,
    stack = true,
    close = true,
    description = "A little bag of cocaine",
    consume = 0, -- ADDED
    server = {
	    export = "it-drugs.cocaine"
    },
    client = {
	    image = "cocaine.png",
    }
},
	
["joint"] = {
    label = "Joint",
    weight = 10,
    stack = true,
    close = true,
    description = "Joint",
    consume = 0, -- ADDED
    server = {
	    export = "it-drugs.joint"
    },
    client = {
	    image = "joint.png",
    }
},

Files to change:

  • All local files
  • cl_selling
  • cl_dealer
  • sv_dealer
  • sv_usableitems.lua
  • config.lua (if you want the new drugs be added to the seed dealer)

Bug Fixes

  • Drug item is no longer removed if you can't take a drug
  • Fix some missing local strings
  • Fix issue #33

Changes

  • Update Zone checker
  • Add some new local strings
  • Update the config file

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

03 Dec 22:27
854dac1

Choose a tag to compare

v1.3.0

Now that I have rewritten almost the entire script logic, fixed many bugs and even written new features it is time to officially release version 1.3.0

If you should still find bugs report them to us in the Discord Server

So what has changed?

Important: This list includes all changes between verion 1.2.4 and 1.3.0 so all beta changes are included

How to update?

If you are updating from verion 1.2.4 please follow this guide: https://docs.it-scripts.com/it-drugs/update#v124-to-v13x
If you are updating from verion 1.3.0betaX please follow this guide: https://docs.it-scripts.com/it-drugs/update#v13betax-to-130

Bug Fixes

  • Fix known Database issues
  • New locals
  • Better Webhook System
  • Resolve Problems with ox_target
  • Animation fix
  • Fix plant health calculation
  • And much more

Changes

  • Added more plant models
  • Added support for qbox
  • Added more options to the plants
  • Added more options to the tables
  • Update the dealer
  • Added support for qs-inventory
  • Added support for codem-inventory
  • Remove all debug messages from release version

Planed features

  • More custom models
  • More options to the proccessing-tables
  • Fixed locations for processing

Check this for more infos: https://github.com/orgs/it-scripts/projects/1

Updated the Wiki for Version 1.3.0

Check it out: https://docs.it-scripts.com

New Contributors

Full Changelog: v1.2.4...v1.3.0

v1.3.0beta7

13 Oct 20:48
4c6d662

Choose a tag to compare

v1.3.0beta7 Pre-release
Pre-release

v1.3.0beta7

This update add's some quality of live changes

With this version we have added custom props for the processing tables so that the taget does not overwrite props from other scripts.

ATTENTION
If the script is restarted while a player is looking at a table the player will crash, this problem will be fixed with one of the next updates

Prop names:

  • freeze_it-scripts_empty_table
  • freeze_it-scripts_weed_table
  • freeze_it-scripts_coke_table
  • freeze_it-scripts_meth_table

Please replace following files:
Please replase all files, if you don´t want to replace the config check:
v1.3.0beta6...v1.3.0beta7

Whant to know about the beta? Check this

What's Changed

Bug Fixes

  • Fix the local health calculation of the plants
  • Add missing events for no target support
  • Fix processing bug
  • Fix some messages
  • Remove more junk code

Changes

  • Add custom table props
  • Add effects to recipes
  • Add required item for destroying a plant
  • Add option for non removable ingredients

New Contributors

Full Changelog: v1.3.0beta6...v1.3.0beta7

v1.3.0beta6

16 Sep 20:01

Choose a tag to compare

v1.3.0beta6 Pre-release
Pre-release

v1.3.0beta6

This update fixes all problems and errors that occur in connection codem_inventory. Also fix some old code.

Please replace following files:

  • client/cl_target
  • the bridge folder

Whant to know about the beta? Check this

What changed?

Bug Fixes

  • Fix errors that occur in connection codem_inventory
  • Fix target deletion

Full Changelog: v1.3.0beta5...v1.3.0beta6