local src = source
local xPlayer = ESX.GetPlayerFromId(src)
local xItem = xPlayer.getInventoryItem(item)
if xItem ~= nil then
if xItem.count >= 1 then
local count = math.random(1, xItem.count)
xPlayer.removeInventoryItem(item, count)
xPlayer.addInventoryItem(karapara, 500) --500 olan kısmı ne...