mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 10:48:52 +00:00
Merge pull request #722 from justtos/master
Add the "item_name" as an argument when executing the use item callback
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