Skip to content

Changelog

qs-inventory (beta)

  • qs-inventory support (beta): trunk props, taking, the trunk inventory option and loot. Written from Quasar’s documentation and not yet tested on a live qs-inventory server: please report anything that does not work (sltrunk_qs <plate> in the server console prints what sl_trunk reads).
  • ESX now works with qs-inventory too.
  • qs-inventory cannot refuse moves from its screen: there, physical capacity applies only to sl_trunk’s loot.

First release

  • Trunk contents shown as props inside the trunk, from ox_inventory or qb-inventory, for every nearby player.
  • 3D packer: props stacked and laid down, nothing floating or overlapping; props stay put when another one is taken.
  • Physical capacity: what does not fit as a prop is refused by the inventory (Config.Capacity).
  • Take items straight from their prop, with an animation, through sl_interact, ox_target or qb-target.
  • Trunk view (Q): camera over the open trunk, take with the mouse, turn, zoom and move.
  • Own lid options: open, close and trunk inventory; the lid stays open for everyone.
  • Props also with the lid shut, seen through windows, beds and vans (Config.PropsWhenClosed).
  • Trunk zones for 465 vanilla vehicles generated from the game’s models; heuristic by class for addon vehicles.
  • In-game zone editor (/sltrunk_zone).
  • Automatic props for unlisted items (weapons, words in the name, weight) and automatic measuring of new props.
  • QBCore, Qbox and ESX (with ox_inventory). English and Spanish.

Pro

  • NPC loot, drawn when a player on foot comes near a parked NPC car; configurable tables by class or model, guaranteed items, metadata, money, modify and exports.sl_trunk:AddLootModifier.
  • Forcing locked trunks: ring minigame (or ox_lib, or your own), tools that break, retries, alarm and police alert chances per outcome, job and police limits, ps-dispatch, cd_dispatch and the sl_trunk:alert event.