mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 18:58:54 +00:00
Allow the callback for the item to have access...
to basic info about itself
This commit is contained in:
@@ -244,7 +244,7 @@ ESX.RegisterUsableItem = function(item, cb)
|
||||
end
|
||||
|
||||
ESX.UseItem = function(source, item)
|
||||
ESX.UsableItemsCallbacks[item](source)
|
||||
ESX.UsableItemsCallbacks[item](source, item)
|
||||
end
|
||||
|
||||
ESX.GetItemLabel = function(item)
|
||||
|
||||
Reference in New Issue
Block a user