codem-inventory
in codem-inventory/editable/editableclient.lua
CTRL + F and look for:
codem-inventory/editable/editableclient.lua
CTRL + F and look for:function UseSlot(slotnumber)
at the beginning of the function add following:
if LocalPlayer.state.inDeathmatch == true then return end
Your function should look like this:

in codem-inventory/editable/editableclient.lua
CTRL + F and look for:
codem-inventory/editable/editableclient.lua
CTRL + F and look for:RegisterNetEvent('codem-inventory:openInventory', function()
at the beginning of the function add following:
if LocalPlayer.state.inDeathmatch == true then return end
Your function should look like this:

Last updated