My drugs are selling for the incorrect price
My drugs are selling for the incorrect price
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 weed, 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! However, you have a couple options to choose from:
-
You can disable purity pricing by visiting the
Config.LationWeed,Config.LationMethand/orConfig.LationCokesections in theconfig.luaof the selling script and set theenableoption tofalse. This will disable purity pricing completely and rely on your specific prices set in the zones drugs settings. - Secondly, you could go through the correct production process of these drugs so that they are produced correctly and will contain the correct metadata and you will see the price of this drug change based on the purity value assigned.
-
Lastly (and the most drastic option) is you could write a temporary development command such as the one shown below and spawn the items manually with metadata in-tact:
Paste this command in
lation_selling/server/functions.luaat the end of the file.Do not forget to remove this command when done testing!
I want to enable full map selling
I want to enable full map selling
To accomplish this, first you must 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.My question or issue isn't listed here
My question or issue isn't listed here
Sorry about that! Please reach out to us on Discord or via email at support@lationscripts.com regarding your issue.
