Releases: it-scripts/it-drugs
v1.4.4
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
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
- Add Polish language (@Nieznajomy333)
What's Changed
- Polish language by @Nieznajomy333 in #55
New Contributors
- @Nieznajomy333 made their first contribution in #55
Full Changelog: v1.4.2...v1.4.3
v1.4.2
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
- Fix some translation bugs (@lush0n3)
Changes
- Move give item exports to the server side of the script
Full Changelog: v1.4.1...v1.4.2
v1.4.1
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
- Add option for reward items on drug sell: https://docs.it-scripts.com/it-drugs/tipps-and-tricks/additional-sell-settings
What's Changed
- v1.4.1beta by @AllRoundJonU in #51
Full Changelog: v1.4.0...v1.4.1
v1.4.0
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
- Implement ox_inventory exports by @AllRoundJonU in #42
- Updated drug use by @AllRoundJonU in #43
- fix getPlantsOwned by @AllRoundJonU in #41
- V1.3.2 by @AllRoundJonU in #44
- Multiple updates by @TsUmAxSTM in #48
- v1.4.0beta by @AllRoundJonU in #49
Full Changelog: v1.3.1...v1.4.0
v1.3.2
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
- Update the drug handling
- Edit the armor drug effect (https://docs.it-scripts.com/it-drugs/adjustments/drugs#all-possible-drug-effects)
- Moved function to function.lua
What's Changed
- Implement ox_inventory exports by @AllRoundJonU in #42
- Updated drug use by @AllRoundJonU in #43
- fix getPlantsOwned by @AllRoundJonU in #41
- V1.3.2 by @AllRoundJonU in #44
Full Changelog: v1.3.1...1.3.2
v1.3.1
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
- Multiple updates and bug fixes by @TsUmAxSTM in #35
- Update sv_usableitems.lua by @TsUmAxSTM in #36
- Update all local for version 1.3.1 by @AllRoundJonU in #37
- Add missing seed to dealer by @AllRoundJonU in #38
- v1.3.1 by @AllRoundJonU in #39
New Contributors
- @TsUmAxSTM made their first contribution in #35
Full Changelog: v1.3.0...v1.3.1
v1.3.0
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
- @TickerDev made their first contribution in #20
- @TheKetur55 made their first contribution in #23
- @AzhukOffi made their first contribution in #27
- @Realturnpoint made their first contribution in #31
Full Changelog: v1.2.4...v1.3.0
v1.3.0beta7
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
- @TheKetur55 made their first contribution in #23
Full Changelog: v1.3.0beta6...v1.3.0beta7
v1.3.0beta6
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