function chat()
exports['mythic_notify']:SendAlert('success', 'Acıktın Bir Şeyler Yemen Lazım!')
end
function chat2()
exports['mythic_notify']:SendAlert('success', 'Susadın Bir Şeyler İçmen Lazım!')
end
Citizen.CreateThread(function()
while true do
Citizen.Wait(20000)
TriggerEvent('esx_status:getStatus', 'hunger', function(status)
if status.val < 90000 then
chat()
PlaySound(-1, "Event_Start_Text", "GTAO_FM_Events_Soundset", 0, 0, 1)
end
end)
TriggerEvent('esx_status:getStatus', 'thirst', function(status)
if status.val < 90000 then
chat2()
PlaySound(-1, "Event_Start_Text", "GTAO_FM_Events_Soundset", 0, 0, 1)
end
end)
end
end)