Skip to main content
2.3.0
  • New Purity Pricing System
    • Replaces the three separate Config.LationCoke, Config.LationMeth, and Config.LationWeed config blocks with a single, unified Config.Metadata table. Each item now has its own independent price_per_purity, perfect_bonus, and key (the metadata field to read the value from). This means weed strains can each have their own unique purity pricing, cocaine and crack can be priced separately, and any item from any script can be given metadata-based pricing - not just Lation Script items. To enable metadata pricing for an item, add it to Config.Metadata. To disable it and fall back to the fixed min/max price range in the zone drugs table, simply remove it.
    • Breaking Change: The old Config.LationCoke, Config.LationMeth, and Config.LationWeed blocks have been removed. You must replace them with the new Config.Metadata table. Refer to the updated config.lua for the new format.
  • Fix tgiann-inventory Error
    • Fixed a Lua error (“attempt to perform arithmetic on a nil value”) that could occur when using tgiann-inventory.
  • New Config Option: excludeScriptPeds
    • Added excludeScriptPeds to Config.Setup. When true (default), only naturally spawned world/ambient peds can be sold to — this preserves existing behavior. Set to false to allow selling interactions on any ped regardless of origin, including peds spawned by other scripts.
  • New Hook: ItemsClaimed
    • Added an empty ItemsClaimed(source, item, quantity) function to server/functions.lua. This is triggered server-side when a player successfully claims back items that were stolen from them during a robbery. Can be used with XP systems, gang scripts, or any other custom integration. Default behavior is unchanged.
changed-files
bridge/client.lua
client/main.lua
config.lua
server/functions.lua
server/main.lua
fxmanifest.lua
2.2.0
Dec 20, 2025
Added tgiann & jaksam inventory support
Config option to revert back to old selling backend
Fixed resource not starting properly on server start up
2.1.10
Sep 23, 2025
Fixed multiple players selling to a single ped (its now essentially server-synced, once a ped bought drugs, it no longer wants drugs from anyone)
Added “xpAdded” variable to DrugSold function
2.1.9
Jul 2, 2025
Maintenance release for lation_ui
2.1.8
Mar 6, 2025
Fixed robbed coke items returning with no metadata
2.1.7
Feb 20, 2025
Added support for lation_coke
Added check for install folder/.sql file(s)
Update to new version checking API
Update docs url(s) to new path
2.1.6
Nov 18, 2024
Add ability to add an iconColor field to drugs
Fix robbed items not returning
2.1.5
Nov 7, 2024
Added metadata support for weed v3 items to sell based on purity
Fixed default rcore_dispatch implementation
Updated config with new item names and new section
Updated GetPlayerInventory function
Reduced the number of calls to GetData function
2.1.4
Oct 22, 2024
Fixed minor exploit reported today
2.1.3
Oct 18, 2024
Remove ped freezing during reject
Add meth prop for ls_meth items
2.1.2
Oct 10, 2024
Fix meth item not maintaining metadata after robbery
2.1.1
Oct 9, 2024
Fix PayPlayer function
2.1.0
Oct 9, 2024
Added new config options for lation_meth integration to price meth based on purity
Added new bridge with native support for QBox & ox_core
Added support for Fivemanage & Fivemerr logging systems
Added chance for “silent” police calls to give police more chances to catch sales in progress
Player character is now frozen in place during rejection animation
Fixed stolen items sometimes returning as a different item
2.0.2
Jun 11, 2024
Fix flawed logic regarding drug quantity minimums
2.0.1
Jun 11, 2024
Added ability to lock individual drugs by rep level
2.0.0
Jun 11, 2024
Initial v2 release