RegisterCommand("üstara" , function(source,args,raw)
local player = ESX.GetPlayerData()
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
if closestPlayer ~= -1 and closestDistance <= 3.0 then
ESX.TriggerServerCallback('discinventoryhud:isplayerdead', function(isPedDead)
if isPedDead then
TriggerEvent("disc-inventoryhud:search")
else
TriggerEvent("disc-inventoryhud:steal")
end
end, GetPlayerServerId(closestPlayer))
else
exports['mythic_notify']:SendAlert('error', 'Yakında Kimse Yok!')
end
end)