any hope for NPC sales to have a % of being robbed/jumped during sale? besides the NPC just declining on the sale <3
Of course, you have nothing to worry about!
We are pleased to hear that, thank you for your trust
I’ve already mentioned this - it was the main pillar of the first script regarding drug sales and it will probably appear in this version, but we are trying to work on new things, however, we will definitely add this in the future!
amazing script works fine but there are some issues i think it should be updated like if somene started selling when there is the minimum requirement police and the police players went offline he can still sell drugs also you can interact with a dead npc and trade with him
Thank you for your feedback and constructive criticism; we will fix this in a future update.
Update regarding the Drug Sales!
From now on, using Drug Sales requires our library. For less advanced customers, we will soon update our documentation regarding the update and usage of the script. The config.lua
file has changed almost entirely, so transferring the old one will not work. The SQL file that you uploaded to the database remains unchanged, so your players’ statistics will stay the same as before.
Updates have been sent to those who purchased the script - check your email inbox and KeyMaster
- Rewrite the entire code, optimize it, introduce innovations, and add more configuration options,
Download the latest file from KeyMaster and replace it:
all files
,
Since the last update, there have been a few more. I encourage you to join our Discord to stay up to date with the Changelogs!
Update regarding the Drug Sales!
- Added the option to change the Maximum Price Multiplier for Wholesale and Retail sales of a specific Drug — by default, it’s set to
2.0
. Just addmaxPriceMultiplier = {retail = 2.0, wholesale = 2.0}
to your drug incfg.Drugs
, - Fixed the issue with Dispatch not correctly notifying authorities about Sales,
- Added a new variable
cfg.Retail.policeAlertOnSale
toconfig.lua
, which determines whether the script should have a chance to notify the authorities during a Successful Drug Sale, - *Fixed a bug with commands on the **ESX *framework that prevented certain Permission Groups from using Specific Commands,
- Improved command functionality,
Download the latest file from KeyMaster and replace it:
config.lua
,
client/main.lua
,
client/retail.lua
,
server/commands.lua
,
server/retail.lua
,
server/wholesale.lua
,