Mythic_hospital ERROR PERSISTENTALERT in resource mythic_notify

Do someone know what to do here??

Imgur

i have everything i need when he hurting he start walk like he is haveing pain but no text like bleeding is coming up so dont know why and how to fix this :frowning:

Script ERROR: citizen:/scripting/lua/scheduler.lua:924: No such export PersistentAlert in resource mythic_notify
1 Like

nobody?

i have same error…i don’t know how to solve

1 Like

I neither receive the bleeding nor the limp or anything … I have been looking at the client / wound.lua and in the legs section in theory I have the limp but nothing …

There’s an error in mythic_notify or mythic_hospital, post the scripts you have for it and we will be able to have a better look.

1 Like

Does anyone now now hoy to fix it?

i have same error anybody managed to figure this out yet plz could you help

here’s the script, please have a look, got this error as well;

MAIN.LUA
RegisterNetEvent(‘mythic_notify:client:SendAlert’)
AddEventHandler(‘mythic_notify:client:SendAlert’, function(data)
DoCustomHudText(data.type, data.text, data.length, data.style)
end)

RegisterNetEvent(‘mythic_notify:client:PersistentHudText’)
AddEventHandler(‘mythic_notify:client:PersistentHudText’, function(data)
PersistentHudText(data.action, data.id, data.type, data.text, data.style)
end)

function DoShortHudText(type, text, style)
SendNUIMessage({
type = type,
text = text,
length = 1000,
style = style
})
end

function DoHudText(type, text, style)
SendNUIMessage({
type = type,
text = text,
length = 2500,
style = style
})
end

function DoLongHudText(type, text, style)
SendNUIMessage({
type = type,
text = text,
length = 5000,
style = style
})
end

function DoCustomHudText(type, text, length, style)
SendNUIMessage({
type = type,
text = text,
length = length,
style = style
})
end

function PersistentHudText(action, id, type, text, style)
if action:upper() == ‘START’ then
SendNUIMessage({
persist = action,
id = id,
type = type,
text = text,
style = style
})
elseif action:upper() == ‘END’ then
SendNUIMessage({
persist = action,
id = id
})
end
end

__RESOURCE.LUA
resource_manifest_version ‘44febabe-d386-4d18-afbe-5e627f4af937’

ui_page {
‘html/ui.html’,
}

files {
‘html/ui.html’,
‘html/js/app.js’,
‘html/css/style.css’,
}

client_scripts {
‘client/main.lua’
}

exports {
‘DoShortHudText’,
‘DoHudText’,
‘DoLongHudText’,
‘DoCustomHudText’,
‘PersistentHudText’,
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.