diff --git a/client/events.lua b/client/events.lua index e9b6655..fe7d513 100644 --- a/client/events.lua +++ b/client/events.lua @@ -174,7 +174,7 @@ end) -- This event is exploitable and should not be used. It has been deprecated, and will be removed soon. RegisterNetEvent('QBCore:Client:UseItem', function(item) - QBCore.Debug(string.format("%s triggered QBCore:Client:UseItem by ID %s with the following data. This event is deprecated due to exploitation, and will be removed soon. Check qb-inventory for the right use on this event.", GetInvokingResource(), source)) + QBCore.Debug(string.format("%s triggered QBCore:Client:UseItem by ID %s with the following data. This event is deprecated due to exploitation, and will be removed soon. Check qb-inventory for the right use on this event.", GetInvokingResource(), GetPlayerServerId(PlayerId()))) QBCore.Debug(item) end)