[Dev-Resource] Mythic Notifications

and if it still continues, use triggerclientevent instead of exports.

TriggerEvent('mythic_notify:client:SendUniqueAlert', source, { id = '22', type = 'inform', text = 'Test', length = 2500, style = { ['background-color'] = '#ffffff', ['color'] = '#000000' } })

I used “mythic_notify:client:SendUniqueAlert OBJECT { id, type, text, duration, style }” and it gives photo error.

Any fixes? I also tried exports but still gives “There is no export like SendUniqueAlert” in mythic_notify. There are exports in __resource.lua and also mentioned by AlzarTV in the FAQ.

Just replace DoHudText with SendAlert

Example:

exports['mythic_notify']:DoHudText ('inform', Config.messages['you_leave'] .. getPlayerRadioChannel .. '.00 MHz </b>')

Change it to

exports['mythic_notify']:SendAlert('inform', Config.messages['you_leave'] .. getPlayerRadioChannel .. '.00 MHz </b>')```

how to add notifacation to mechanic and ambulance job and all notifications

1 Like

Vape_jeezy this doesnt work

could someone help, id like to make it show the amount you withdrew from the bank, i have everything working except how to bring up the actually amount it just says “you withdrew”.

lovely script BTW

anyone know how to change this default notif when pickup and drop items to mythic_notify??
ad8746a18bdcfac353683639bf1d9e5caa081831

The download link doesn’t work.

Yeah he’s pulled the whole repo associated with Mythic RP down.

Damn someone else released something and it requires this… Do you have it?

Update link please. Thanks

Download link not found!!
Update link pls!

Unlisted until download fixed

es_extended, if u need some help dm me.

Here’s the github link: https://github.com/JayMontana36/mythic_notify

where add this line ? es_extended or mythic_notify :slight_smile: :

exports[‘mythic_notify’]:SendAlert(‘type’, ‘message’)

1 Like

Hi folks, just to confirm, for something like this i could just convert:

sourceXPlayer.showNotification(_U('gave_item', itemCount, sourceItem.label, targetXPlayer.name))

to

exports[‘mythic_notify’]:DoHudText (‘success’, _U('gave_item', itemCount, sourceItem.label, targetXPlayer.name)

or would i need to do the trigger as it’s in the server.lua

TriggerClientEvent('mythic_notify:client:SendAlert', sourceXPlayer, { type = _U('gave_item', itemCount, sourceItem.label, targetXPlayer.name) })

The download doesn’t work anymore , Can anyone create a new link or drop it in please .

Can you fix the link its broken

1 Like

Hi can someone help my with esx_advancedgarage notifications Thanks