Skip to main content
If your drugs are selling for $2 or some price that you are not expecting, this is because of our built-in purity pricing feature. Our individual drug scripts such as meth & coke use purity by default for determining the sale price. Due to the use of metadata on these items, they cannot be spawned. If you spawned in these items, that is the issue!If the items you are referring too are specifically items from our Weed Growing v4 resource, then the issue may be slightly different. By default, Weed Growing v4 has metadata disabled. Which means when you harvest a plant and get these items, they do not contain any purity information, so if you try to sell them without removing them from this section of the lation_selling config:
Then they will be offered at the lowest possible price due to the lack of metadata. If you want to keep the metadata feature disabled in Weed Growing v4, then you must remove the items from that list above in your config. If you wish to use the metadata features in Weed Growing v4, then open /weedadmin then go to the “Setup” tab and find the “Item Metadata” section and enable it for the items you wish.
The drug selling script is built entirely around zones, so there is no way to simply disable them. However, if you wish to allow selling across the entire map and not be limited to specific areas/zones, you can still do it!The first thing you must do is remove (or comment out) all zones except for 1. Next you must update the coords section for that 1 remaining zone to be roughly in the center of the map. Lastly, change the zone size to 5000 (do not set the size any larger than 5000).
Please note; the drug selling script is not designed to be used in this manner. Using the script in a single-zone configuration is generally unsupported and may break certain features such as job checks. Lastly, you should be aware using the script in this manner also removes the most powerful features of this resource; the ability to create a dynamic and region-based drug selling environment that can be customized per-zone.
This issue was marked as resolved in the v2.2.0 changelogs which can be found here. If you are on an older version, you must update to the latest. If the issue still persists and you confirmed you are on the latest version, then a temporary workaround which may work is: open your server.cfg file, navigate to the very bottom of your entire resource start list, and add the following two lines:
This is reportedly working for most users, but may not work for everyone. If you have done everything here and are still unable to resolve the issue, don’t worry! We are aware of this odd issue and are still actively working on investigating why.
Sorry about that! Please reach out to us on Discord or via email at support@lationscripts.com regarding your issue.
When working with, testing, or tweaking this resource; do not restart the script! To properly restart this resource you first must stop lation_selling then ensure lation_selling. Failure to do so can cause issues, errors, and unexpected behavior.