Skip to content

FAQ

Yes. You get it from our store at no cost, delivered to your Cfx.re account like any other escrow resource. SL-Trunk Pro adds NPC loot and forcing trunks.

A car shows props in the wrong place or outside the trunk

Section titled “A car shows props in the wrong place or outside the trunk”

Open the editor next to it with /sltrunk_zone and adjust the outline. It is saved for that model and applied to every player at once. See Zones and the editor.

Its class may have no usable trunk for the heuristic. Draw its zone with /sltrunk_zone.

It is not in data/items.lua and nothing else matched. Add it: my_item = 'prop_name'. See Items and props.

It is measured the first time it is needed. If the console says the prop “does not exist in the game”, check its name.

Items are no longer refused when the trunk is full (qb-inventory)

Section titled “Items are no longer refused when the trunk is full (qb-inventory)”

Restart sl_trunk after restarting qb-inventory; the console reminds you.

With ox_inventory, other scripts overfill a trunk

Section titled “With ox_inventory, other scripts overfill a trunk”

ox_inventory does not let sl_trunk stop items added by other scripts. They are kept in the trunk; those that do not fit are not shown as props.

It was written from Quasar’s documentation and has not been tested on a live qs-inventory server yet. qs-inventory cannot refuse a move from its own screen, so with it the trunk’s physical capacity only applies to sl_trunk’s loot; anything else that does not fit is kept but not shown.

If trunks show no props, or taking does not work, run sltrunk_qs <plate> in the server console and send us what it prints. If “Trunk inventory” does nothing and you changed qs-inventory’s event prefix, set the same one in client/bridge/inventory.lua.

Nothing works and the console says “no supported inventory”

Section titled “Nothing works and the console says “no supported inventory””

Start ox_inventory, qb-inventory or qs-inventory before sl_trunk. ESX needs ox_inventory or qs-inventory.

Only NPC cars get loot, not cars from garages or dealers. Check chanceEmpty in data/loot.lua and the list of unknown items printed in the console on start.

The car must be locked. Check Config.Force.enabled and the enabled of the vehicle type (npc or player).