RegisterNetEvent("hasan:useitemmarul")
AddEventHandler("hasan:useitemmarul",function()
local ped = PlayerPedId()
local armor = GetPedArmour(ped)
armorarti = true
if (armor < 100 and armor >= 10 ) then
TriggerEvent("notification","Yavaş yavaş iyileşiyorsun")
TriggerEvent("notification","Stressin azaldı",2)
while armor < 100 and armorarti == true do
Citizen.Wait(2000)
SetPedArmour(PlayerPedId(),GetPedArmour(PlayerPedId()) + 1 )
end
elseif (armor == 100) then
TriggerEvent("notification","Buna ihtiyacın yok",2)
end
end)