mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 04:01:22 +00:00
tweak - ESX.UseItem - better warning print
This commit is contained in:
@@ -262,7 +262,7 @@ function ESX.UseItem(source, item, data)
|
||||
if ESX.Items[item] then
|
||||
Core.UsableItemsCallbacks[item](source, item, data)
|
||||
else
|
||||
print('Item "' .. item .. '" was called(requested), but does not exist.')
|
||||
print(('[^3WARNING^7] Item ^5"%s"^7 was used but does not exist!'):format(item))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user