Closed xrtw closed 3 years ago
if you put on the hotbar not usable item and player use it SCRIPT ERROR: @extendedmode/server/functions.lua:265: attempt to call a nil value (field '?') ESX.UseItem = function(source, item) ESX.UsableItemsCallbacks[item](source) end
SCRIPT ERROR: @extendedmode/server/functions.lua:265: attempt to call a nil value (field '?')
ESX.UseItem = function(source, item) ESX.UsableItemsCallbacks[item](source) end
ESX.UseItem = function(source, item) if ESX.UsableItemsCallbacks[item] then ESX.UsableItemsCallbacks[item](source) end end
if you put on the hotbar not usable item and player use it
SCRIPT ERROR: @extendedmode/server/functions.lua:265: attempt to call a nil value (field '?')
ESX.UseItem = function(source, item) ESX.UsableItemsCallbacks[item](source) end