lation scripts
scriptsmembershipdocs
see the scripts
Skip to Content
lation ui
lation interact
lation banking
lation shops
lation jobs
lation weed
lation chop shop

classics

money laundering
drug sales
SellingConfigurationDevelopersChangelog
coke processing
meth crafting
metal detecting
scuba diving
drug sales

Changelog

Every drug sales release, newest first, with what it added, changed and fixed.

2.4.0

June 19, 2026

Latest

The server now holds each buyer and keeps every price, so a buyer deals once and a sale pays what the menu offered, and the price calculation moves into an open file.

Added

  • CreateSaleQuote in server/functions.lua: how each offer's price, quantity and total are worked out, from purity, police risk and the level's boost, open to change.
  • DrugSold gets the item's metadata as its last argument, so your scripts can read purity at the moment of sale.
  • A warning in F8 when an item listed in Config.Metadata has no metadata, such as a spawned one, saying why it sold at the lowest price and what to change.

Changed

  • Offers are worked out and kept on the server when the menu opens, and a sale pays the kept total. See prices.
  • The default weed items follow lation weed's current names, such as ls_og_kush_bag (OG Kush Weed) in place of Plain Jane.
  • legacySelling is gone: every sale goes through the server's hold on the buyer. Remove it from your config.lua.
  • Only networked peds can be sold to. Peds that exist on one client only, or that a script has let go of, no longer show the prompt or fill F8 with network id warnings.
  • If you kept an edited server/functions.lua, start from the new one: the server now calls CreateSaleQuote in it.

Fixed

  • The same buyer could, rarely, be sold to more than once. A buyer is now held while their menu is open and marked done after a sale, a refusal or Nevermind, using the drugSale state bag.
  • A modified client could change what a sale paid. The price is no longer taken from the client.

2.3.0

April 16, 2026

One table for purity pricing that works with any item, a setting for peds from other scripts, and a hook for drugs taken back from a robber.

Added

  • Config.Metadata: list any item from any script to price it by a number in its metadata, each with its own key, price_per_purity and perfect_bonus. Each weed strain, cocaine and crack can be priced apart.
  • Config.Setup.excludeScriptPeds, on by default: only locals the game spawned can buy, as before. Turn it off to sell to peds spawned by other scripts.
  • ItemsClaimed in server/functions.lua, called when a player takes robbed drugs back. Empty by default.

Changed

  • Config.LationCoke, Config.LationMeth and Config.LationWeed are replaced by Config.Metadata. Start from the new config.lua and copy your zones across.

Fixed

  • A Lua error, "attempt to perform arithmetic on a nil value", with tgiann-inventory.

2.2.0

December 20, 2025

Two more inventories, and drug sales starts properly with the server.

Added

  • tgiann-inventory and jaksam_inventory, detected on their own.
  • legacySelling, a setting to go back to the old way of tracking buyers (removed in 2.4.0).

Fixed

  • The resource didn't always start properly when the server started.

2.1.10

September 23, 2025

A buyer deals once, whoever is selling.

Added

  • xpAdded on DrugSold: the reputation the sale gave.

Fixed

  • Several players could sell to the same ped. Once a ped has bought, it no longer wants drugs from anyone.

2.1.9

July 2, 2025

Maintenance for lation ui.

Changed

  • Maintenance for lation ui.

2.1.8

March 6, 2025

A fix for robbed cocaine.

Fixed

  • Robbed coke processing items came back with no metadata.

2.1.7

February 20, 2025

Purity pricing for coke processing, and a check for the install folder.

Added

  • Support for coke processing (lation_coke): its items sell by their purity.
  • A console error when the install folder or its .sql file is missing.

Changed

  • The update check uses the new version API.
  • Links to the docs point to their new address.

2.1.6

November 18, 2024

Icon colors for drugs, and robbed items come back again.

Added

  • iconColor on each drug, for its icon in the menu. See drugs.

Fixed

  • Robbed items didn't come back when claimed.

2.1.5

November 7, 2024

Purity pricing for lation weed's version 3 items.

Added

  • lation weed version 3 items sell by their purity.

Changed

  • The config has the new weed item names and a new section for them.
  • GetPlayerInventory in bridge/client.lua changed. If you kept an edited copy, merge in the new one.
  • Fewer calls to GetData.

Fixed

  • The default rcore_dispatch alert.

2.1.4

October 22, 2024

A security fix.

Fixed

  • A minor exploit reported that day.

2.1.3

October 18, 2024

A meth prop, and the seller can move during a refusal again.

Added

  • A meth bag prop for ls_meth in the hand-off.

Changed

  • The seller is no longer frozen while a buyer turns them down.

2.1.2

October 10, 2024

A fix for robbed meth.

Fixed

  • Meth lost its metadata after a robbery.

2.1.1

October 9, 2024

A payout fix.

Fixed

  • PayPlayer in server/functions.lua.

2.1.0

October 9, 2024

Purity pricing for meth crafting, Qbox and ox_core, more logging services, and bystander calls.

Added

  • Support for meth crafting (lation_meth): its meth sells by its purity.
  • A new bridge with support for Qbox and ox_core.
  • Logging to Fivemanage and Fivemerr.
  • Bystander calls: a chance that someone reports a sale that went through, so police get more chances to catch dealers. See settings.

Changed

  • The seller is frozen in place while a buyer turns them down (undone in 2.1.3).

Fixed

  • Stolen items sometimes came back as a different item.

2.0.2

June 11, 2024

A fix for minimum quantities.

Fixed

  • The check for a drug's minimum quantity.

2.0.1

June 11, 2024

Drugs locked by level.

Added

  • A level on each drug, so a single drug can be held back until a reputation level.

2.0.0

June 11, 2024

The first release of version 2.

Still stuck? Ask in our Discord: the people who write the scripts answer.

Last updated November 11, 2026

Developers

The drug sales server and client exports, its notification event and state bag, and the open functions for prices, payouts, police counts, dispatch and sale checks.

coke processing

Requirements, install steps, items and first start for coke processing, a FiveM coke script with wild coca fields, coca growing, portable tables, purity and labs players buy.

On this page

2.4.02.3.02.2.02.1.102.1.92.1.82.1.72.1.62.1.52.1.42.1.32.1.22.1.12.1.02.0.22.0.12.0.0
lation scripts

FiveM scripts for Qbox, QBCore and ESX servers, made to look and work like one product.

store

  • all scripts
  • membership
  • classics

help

  • docs
  • discord
  • email support

legal

  • terms
  • refunds
  • privacy
© 2026 Lation Labslationscripts.com
  • home
  • scripts
  • membership
  • docs