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
Most of the free ones on GitHub are using a crazy thread loop real-time to check players to see if they have weapons or items in their inventory. which is bad for performance. But this resource, it not.
And if you have two of the same gun in your inventory, the free one on GitHub will show only one on your back. But this resource is not.
And as you can see in the preview, when you dropped or equipped your weapon. The other weapon on your back will automatically move to the perfect position.
And the main reason I made this script is to make it compatible with ox_inventory.
I’m not good at explaining things. but i hope you understand what I’m tryna say lol. thanks for asking tho.
Does it work with addon weapons? If yes, can you share an example video? Other scripts like this usually do not work with addon weapons such as Marko Mods’.
It’s not that. It really doesn’t work bec of the way those weapon addons it’s modeled and structured.
I can send you my Modular M4 that I bought from MarkoMods so you can test it on your script for me and if it works then I’m defo buying this.
Hey! just bought the script.
So there is a trouble, i understand the logic of why you did that! but could you add a type : like none so when you got none, even there is two same of the type, they are not mooving. so it let me place some type of weapon where i want! like pistol in the bottom of the back and ak in front of the boddy whitout mooving nothing! thanks