#Troubleshooting
#You have changed the effects but they are not changing in game?
This can be caused by many different reasons:
- Another script is handling or taking over the use of the item, this happens a lot with drugs that have scripts that also try to make the item useable and apply effects. It can also happen if you are trying to use multiple consumable scripts. Make sure the items are not in multiple scripts.
- You are using ox_inventory and the item is set in the data/items. Lua with a client effect looking similar to:
['bandage'] = {
label = 'Bandage',
weight = 115,
client = {
anim = { dict = 'missheistdockssetup1clipboard@idle_a', clip = 'idle_a', flag = 49 },
prop = { model = `prop_rolled_sock_02`, pos = vec3(-0.14, -0.14, -0.08), rot = vec3(-50.0, -50.0, 0.0) },
disable = { move = true, car = true, combat = true },
usetime = 2500,
}
},
This client effect will not allow outside script take control over the inventory item, remove everything from the client section except "image" for this to be fixed.