Placeable Items [ESX+QB]

ezgif.com-optimize

Placeable items allows your players to place down any inventory item as a physical object in the world. This will overhaul your entire servers experience and take it to a higher level. Just imagine, your players trafficking drugs, but instead of it being invisible inside their inventory, it’s openly visible to the public in the back of their pimped out pickup truck. Hopefully no police officer will see them on their route.

Easily define the model per each item.

Now not only item can be dropped or given but also placed and transported in their physical 3d form.

[Tebex | Buy here]

Main features

  • ESX + QB
  • Highly optimized code
  • Extreme configurability (Change the total look and feel of the script)
  • Ability to place any item
  • qb-target, qtarget, ox_target support (Optional)
  • Plug-and-play compatibility with (Quasar) qs-inventory
  • Place items on vehicles
  • Place items inside trunks
  • Items stay attached to the vehicles
  • Not abusable (Entire logic is server sided)
  • Smooth and clean placement method
  • Define model per item
  • Ability to place all inventory items through fallback models
  • Items fall out of vehicles when flipped
  • Seamless integration with many popular inventory systems (Easy to implement into your custom system)
  • Improves realism
  • Items synchronised between players in real time
  • 0.01 Resmon @ idle
  • Saves item metadata when using qb-inventory
  • Items can be thrown and dropped

[Tebex | Buy here]

Built-in item placement menu

ezgif.com-optimize_1

e211bcfe4d378d1e72f72f61fcd93d055e9664d3.png

item-throwing

6464a90e906f021ced4f403fa96dcd43e7769edf.png.

FAQ

Will it work with my inventory system?
Yes. This script has its own built-in menu for placing items, so as long as you’re running esx or qbcore it’ll work just fine!

Will my items stay after a server restart?
Yes! All items placed on the ground will be saved and loaded back up upon restart

Can I place the items inside vehicle trunks? :fire:
Yes, you can place items in basically all vehicles

Do I need to add the “place” option to my inventory?
No, its optional

Do the items stay in game when I log out?
Yes, the placed items will stay in game until someone picks them up or the server restarts

ezgif.com-video-to-gif_20

66a04c70089564179f6df4c6e25ecf1f6f213b5b.png

[Tebex | Buy here]

Optionally you can add “Place” option to your inventory system. This isn’t necessary as the script comes with its own menu for placing props (F4 by default)
Add “Place” option to your inventory system. Guide

> Default config file <

Code is accessible No (Partly, all framework code is public)
Subscription-based No
Lines (approximately) 1700
Requirements ESX or QBCore
Support Yes

Our other scripts
Private islands [ESX+QB]
Islands Generator [Standalone]
Smugglers Heist [ESX+QB]
Drift Smoke [Standalone]
Drift Tires [Standalone, ESX, QB]
Gameboy [Standalone]
Hideouts [ESX + QB]
Engine Swaps [QB]
Engine Swaps [ESX]
Vehicle RGB Controller (Neon + Headlights) [Standalone]
Diving Job [ESX]

9 Likes

The day this man stops making scripts will be the day I breathe my last breath. Keep it going brother!

5 Likes

Amen :pray:

2 Likes

That’s fire :fire: :dizzy_face:

2 Likes

Does this script automatically create a button in ox inventory to put item?

2 Likes

No, that isn’t possible, but the script does come with its own menu which displays all placeable items which are inside your inventory

1 Like

Amazing job, Do the items that are placed save their position? For example, after a reboot, would they reappear?

1 Like

No, they’re not saved in the database

UPDATE 1.4.0: Now the items placed on the ground are saved and loaded after restart (optional)

1 Like

How about changing menu to ox lib?

Not something I’m interested in. I always keep my scripts as standalone as possible. But you can easily do it as all the events necessary to make it work are located in the editable file

1 Like

Hi! I have question before buying it. How does adding Place button works? Do we need to modify ox inventory web files?

Hi, its optional, you can also just use thr menu provided with the script. If you want to add it to ox inventory you’d indeed need to modify them in a similar way that I’ve modified the qb-inventory for example

1 Like

Hi! Noticed one problem: I translated the locale.lua to my language but text is still english. It seems the translation doesnt have any action.

Will look into it

1 Like

Not sure if you saw the update on Discord, but it’s been fixed yesterday

1 Like

Thank you it works now :slight_smile:

1 Like

I know you already essentially tackled this question but this looks so dope I had to ask- does it not work in any other cars other than pickups? like inside of vans or big wagons. I assume it doesn’t because you literally said it kind of doesn’t but again I had to ask because it looks so dope and what i’d do with this is make it so larger items had to be placed in your car or carried by hand and well it would only make sense for you to be place it in any large car but if the logics dont allow for that to happen well then you can’t do much about that. Anyway, dope script

2 Likes

It works on some modded cars that have no collision blocking the inside when the doors are open. Majority of vanilla cars it doesn’t due to how the collisions are done, sadly

Update 1.4.0 :fire:

  • Added persistent items
  • Items placed on the ground will now be saved in the database and loaded back up after a server restart
  • Items placed on vehicles are unchanged. Those will not be saved
  • Protection against duplication abuse
  • Extra hint and unique placement color for persistent items

:warning: Make sure to import kq_placeable_items.sql

Config changes:

Config.sql = {
    driver = 'mysql', -- oxmysql or ghmattimysql or mysql
    -- If you're using an older version of oxmysql set this to false
    newOxMysql = true,
}

-- Saving placed items in the database
Config.objectPersistence = {
    -- Whether the script should save items placed on the ground in the database and load them back up after restart
    enabled = true,

    -- Whether to show warnings when items that somehow got duplicated by an client got picked up twice. Not something that we expect to happen, but better safe than sorry
    -- (The players wont receive the duplicated item regardless)
    showWarnings = true,

    -- Whether to display a little hint when placing an item which will be persistent
    showHint = true,
}

No other previous editable files have been modified

1 Like

This script is essential for every server, it revolutionizes RP and it’s fantastic
Love it!!!

1 Like