diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 102a361f4..2a8582f78 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -45,4 +45,5 @@ 20. [esx_addons]: fix: replace bpt_realisticvehicle with esx_RealisticVehicleFailure to fix repair issues @bitpredator 21. [bpt_streetfight]: chore: clean up the code @bitpredator 22. [bpt_farmer]: chore: clean up the code @bitpredator -23. [bpt_teleport] chore: clean up the code @bitpredator \ No newline at end of file +23. [bpt_teleport]: chore: clean up the code @bitpredator +24. [mythic_notify]: fix: removed unused variables @bitpredator \ No newline at end of file diff --git a/server-data/resources/[esx]/mythic_notify/client/depracated.lua b/server-data/resources/[esx]/mythic_notify/client/depracated.lua deleted file mode 100644 index b363b6499..000000000 --- a/server-data/resources/[esx]/mythic_notify/client/depracated.lua +++ /dev/null @@ -1,24 +0,0 @@ -RegisterNetEvent('mythic_notify:client:PersistentHudText') -AddEventHandler('mythic_notify:client:PersistentHudText', function(data) - PersistentAlert(data.action, data.id, data.type, data.text, data.style) -end) - -function DoShortHudText(type, text, style) - SendAlert(type, text, 1000, style) -end - -function DoHudText(type, text, style) - SendAlert(type, text, 2500, style) -end - -function DoLongHudText(type, text, style) - SendAlert(type, text, 5000, style) -end - -function DoCustomHudText(type, text, length, style) - SendAlert(type, text, length, style) -end - -function PersistentHudText(action, id, type, text, style) - PersistentAlert(action, id, type, text, style) -end \ No newline at end of file diff --git a/server-data/resources/[esx]/mythic_notify/fxmanifest.lua b/server-data/resources/[esx]/mythic_notify/fxmanifest.lua index 249491563..3aa7274a4 100644 --- a/server-data/resources/[esx]/mythic_notify/fxmanifest.lua +++ b/server-data/resources/[esx]/mythic_notify/fxmanifest.lua @@ -1,8 +1,8 @@ fx_version 'adamant' game 'gta5' name 'Mythic Framework Notification System' -author 'Alzar - https://github.com/Alzar' -version 'v1.1.0' + +version '1.0.0' ui_page { 'html/ui.html', @@ -10,7 +10,7 @@ ui_page { files { 'html/ui.html', - 'html/js/app.js', + 'html/js/app.js', 'html/css/style.css', } @@ -22,4 +22,4 @@ exports { 'SendAlert', 'SendUniqueAlert', 'PersistentAlert', -} +} \ No newline at end of file