#Putting Weapon Inside whenever we use any item (ox_inventory)

1 messages · Page 1 of 1 (latest)

swift orchid
#

this code basically puts weapon inside whenever we use any item this code might be usefull to many people

** add this in ox_inventory/client.lua (Near Line : 681) **

elseif data.allowArmed then
    if currentWeapon then
    currentWeapon = Weapon.Disarm(currentWeapon)
end
useItem(data)

** Add This In Any Item In Which You Wanna Use **

        allowArmed = true,
solar forum
swift orchid
solar forum
#

In your video you deactivate lines with

-- test
-- test
I no longer have the extension on my visual studio code since I rebooted my PC. Do you have this manipulation please?

If it can save me from doing this

--[[
test
]]
every time lol that would be great

swift orchid
#

i just do ctrl + k + c it does like that there is no extension for it , its default

solar forum
swift orchid
#

Idk reinstall

#

it maybe

sharp spruce
#

Use Ctrl+/

#

@solar forum

solar forum