core_inventory
in core_inventory/client/main.lua CTRL + F and look for:
RegisterCommand('slot' .. i, function()at the beginning of the command add following:
if LocalPlayer.state.inDeathmatch == true then return endyour command should look like this

in core_inventory/client/main.lua CTRL + F and look for:
at the beginning of the function add following:
your function should look like this:

in core_inventory/client/main.lua CTRL + F and look for:
at the beginning of the function add following:
your function should look like this:

Last updated