qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
49 stars 376 forks source link

Giveitem with player dropdown menu #417

Closed i-kulgu closed 1 year ago

i-kulgu commented 1 year ago

Description

With this PR you can give an item more controlled. You'll get a list of nearby players and when you choose a player it will give the item to that selected player.

Preview: https://www.youtube.com/watch?v=WtpmP7GfGF0

Checklist

M4RFY commented 1 year ago

i like the idea

i-kulgu commented 1 year ago

Left some comments

Fixed all of the comments and added a configurable option to hide player names upon giving item.

S33G commented 1 year ago

Note to self: test this

i-kulgu commented 1 year ago

Not merging and i won't update it. If needed you can get the codes.