Releases: it-scripts/it-drugs
v1.3.0beta4
v1.3.0beta4
Since some users have problems with the sales zones, there is now a temporary fix for this. Just enable Config.ManualZoneChecker
in the config
Please replace following files:
- client/cl_selling
- shared/config
- all bridge files
Whant to know about the beta? Check this
What changed?
Bug Fixes
- Fix job getter
- temp fix for sell zones
Changes
- Re added support for qs-inventory
Full Changelog: v1.3.0beta3...v1.3.0beta4
v1.3.0beta3
v1.3.0beta3
Fixes problems with the newest version of ox_target
Please replace following files:
- client/cl_target
- client/cl_processing
- server/processing
- all local files
Whant to know about the beta? Check this
What changed?
Bug Fixes
- Fix problems with ox target
- fix target autodetect
- fix missing locals
- edit wrong comments in the config.lua
Changes
- Add fr as language
Full Changelog: v1.3.0beta3...v1.3.0beta3
v1.3.0beta2
v1.3.0beta2
Only fixes small error with the bridge
If you want to update you only have to replace the bridge folder
Whant to know about the beta? Check Check this
What changed?
Bug Fixes
- fix errors when manualy setting framework and inventory
Changes
- Add some mor debug messages
Full Changelog: v1.3.0beta1...v1.3.0beta2
v1.3.0beta1
v1.3.0beta1
It took a long time but the first beta of version 1.3.0 is ready. I have rewritten the whole core code of the script to make it easier to add new content to the script in the future
Why the beta?
This time so much has been changed and added to the script that I don't know if everything has been tested enough to release it as a final version. Therefore it is only a beta.
Attention
Due to all the changes to the code there may be game breaking bugs. I therefore ask all users to test this version of the script only on a test server. Those who test this version on their FiveM server do so at their own risk.
Update
To use the update on your server you have to delete the database tables that have to do with it-drugs, to do this use:
DROP TABLE IF EXISTS `drug_plants`;
DROP TABLE IF EXISTS `drug_processing`;
No Target System
This version of the script can also be used without a target system, but currently there is no possibility to sell drugs to NPCs.
I have found a bug
You have found a bug super on my Discord there is a new channel with the name 🐞・report-bug there you can report bugs to this version of the script.
Discord Server: https://discord.it-scripts.com
Channel Link: https://discord.com/channels/1082788206459764837/1279516803399290950
What changed?
Bug Fixes
Changes
- Added support for codem inventory (untested)
- Added support origin_inventory (untested)
- You can now sell items to dealers
- Add support for non target system server
- Add support for more then one webhook
- Now you can sell drugs to npcs everywhere
- Not you can change the money type when buying and selling items
Code Statistics:
Date : 2024-09-05 01:35:02
Total : 40 files, 6329 codes, 446 comments, 1119 blanks, all 7894 lines
language | files | code | comment | blank | total |
---|---|---|---|---|---|
Lua | 36 | 6,164 | 446 | 1,081 | 7,691 |
YAML | 2 | 82 | 0 | 3 | 85 |
Markdown | 1 | 67 | 0 | 35 | 102 |
SQL | 1 | 16 | 0 | 0 | 16 |
v1.2.4
v1.2.4
Sorry that this update has taken so long with this version come many small bug fixes and a new feature
Bug Fixes
- Fix plant randomly despawning
- Fix some missing locales
- Fix some bridge functions
Changes
- PolyZone is no longer requiered (replaced with ox_lib)
- Add Drug/Seed Dealer
- You can now customize recipie animation
- Added Drug Cooldown
Updated the Wiki for Version 1.2.4
Added help to the wiki for creating new zones
Full Changelog: v1.2.3...v1.2.4
v1.2.3
v1.2.3
Version 1.2.3 added multiple recipes per table and fixed some issues
Bug Fixes
- Fix metadata bug
- Fix ox_target icon bug
- more esx fixes
- fix set hunger effect @xSamiVS
- and more...
Changes
- Add minimum Distance between two plants
- Add multiple recipes per table
- Add onlyAvailableItems config
- Add Spanish local @xSamiVS
- Add Config.OnlyCopsOnDuty @xSamiVS
Full Changelog: v1.2.2...v1.2.3
v1.2.2
v1.2.2
Version 1.2.2 comes with a bug fix for the default esx inventory
Bug Fixes
- items can now be used with default esx inventory
- items no get removed from the inventory when used with default esx inventory
- fix permission copy message
Full Changelog: v1.2.1...v1.2.2
v1.2.1
v1.2.1
Version 1.2.1 comes with plenty of bug fixes
Bug Fixes
- fixed seed drop chance
- fixed typos
- fixed selling
- fixed targeting
- fixed sellChance
Changes
- add armor as drug effect
Full Changelog: v1.2.0...v1.2.1
v1.2.0
v1.2.0
Version 1.2.0 comes with plenty of bug fixes and a brand new ingame admin menu
Bug Fixes
- fixed ox_inventory errors
- add missing locales
- fixed missing entitys
- fixed webhook error
Changes
- add new ingame admin menu
- add
getGroundHash
command - add
drugadmin [plants/tables]
command
Full Changelog: v1.1.1...v1.2.0
v1.1.1
v1.1.1
Version 1.1.1 comes with some database fail backs and new settings
Bug Fixes
Changes
- Set max plants per player
- Added more Database Security
- Added some missing locales
Full Changelog: v1.1.0...v1.1.1