🔫 [ESX/QB] Weapons & Items on back | Items, Weapons/Add-on on back | cortex_backitems

A script by CortexScripts

No reviews yet.
🔫 [ESX/QB] Weapons & Items on back | Items, Weapons/Add-on on back | cortex_backitems main image

Full Description

ezgif.com-gif-maker i4zKuoL - Imgur

This script allows you to put weapons or items on your back.

Video Preview

Add-on Showcase

Screenshots (Click)







Features

  • Remove attached weapons/items when dropped from player’s inventory and attach when weapons/items is added to player’s inventory.

  • Remove attached weapons/items when player F8 quit/logout or game crashed

  • Support checking job for a specific weapon position | preview

  • Easy Config | You can add new weapons, add-on weapons or items in config with some small changes

  • Optimized | Running on 0.00 ms in idle and 0.00~0.07 ms when switching, holstering, adding or dropping weapon/item. (There’s no crazy thread/while loop in this resource.)

Framework

  • ESX | Compatible with ox_inventory and mf-inventory

  • QBCore | Compatible with ox_inventory, qb-inventory, lj-inventory and should works with qb-inventory edited or any custom inventory that still use built-in QBCore functions.

Requirements

  • ESX | ox_inventory or mf-inventory

  • QBCore | qb-weapons, or none If you use ox_inventory

DOWNLOAD | GET IT HERE

Config

Event for remove attached weapons/items, like when using Clothing Store/Menu (client side).

TriggerEvent('cortex_backitems:DeleteAttachedBackItems')

And this to put them back.

TriggerEvent('cortex_backitems:AttachBackItems') 
Code is accessible Yes, config.lua, utils.lua and server.lua
Subscription-based No
Lines (approximately) ~200
Requirements qb-weapons for QBCore version
Support Yes