diff --git a/resources/RP-Death/client.lua b/resources/RP-Death/client.lua index 68a6b0d39..16be74169 100644 --- a/resources/RP-Death/client.lua +++ b/resources/RP-Death/client.lua @@ -158,7 +158,7 @@ AddEventHandler("DeathScript:Revive", function( adrev, admin, all) if adrev then exports['EGRP-Notifications']:Success("System", "You have been revived by an admin!", "top", 5000, true) --ShowNotification("~g~You have been revived by an admin!") - TriggerServerEvent('DeathScript:AdminReturn', admin) + --TriggerServerEvent('DeathScript:AdminReturn', admin) end else exports['EGRP-Notifications']:CaptionIcon("System", "You can revive in "..ReviveTime.." seconds!", "top", 3000, "dark", "", true, "mdi-medical-bag") @@ -166,8 +166,7 @@ AddEventHandler("DeathScript:Revive", function( adrev, admin, all) end else if adrev then - TriggerServerEvent('DeathScript:AdminReturn', admin) - else + --TriggerServerEvent('DeathScript:AdminReturn', admin) exports['EGRP-Notifications']:Negative("System", "You can't revive yourself when you're alive!", "top", 3000, true) --ShowNotification("~g~You're alive!") end @@ -192,7 +191,7 @@ AddEventHandler("DeathScript:Respawn", function( adres, admin, all) if adres then exports['EGRP-Notifications']:Success("System", "You have been respawned by an admin!", "top", 5000, true) --ShowNotification("~g~You have been respawned by an admin!") - TriggerServerEvent('DeathScript:AdminReturn', admin) + --TriggerServerEvent('DeathScript:AdminReturn', admin) end else exports['EGRP-Notifications']:CaptionIcon("System", "You can respawn in "..RespawnTime.." seconds!", "top", 3000, "dark", "", true, "mdi-medical-bag") @@ -200,7 +199,7 @@ AddEventHandler("DeathScript:Respawn", function( adres, admin, all) end else if adres then - TriggerServerEvent('DeathScript:AdminReturn', admin) + --TriggerServerEvent('DeathScript:AdminReturn', admin) else exports['EGRP-Notifications']:Negative("System", "You can't respawn when you're alive!", "top", 3000, true) --ShowNotification("~g~You're alive!") diff --git a/resources/RP-Death/server.lua b/resources/RP-Death/server.lua index 295b956f2..1490100df 100644 --- a/resources/RP-Death/server.lua +++ b/resources/RP-Death/server.lua @@ -81,6 +81,6 @@ RegisterCommand('deathtoggle', function(source, args, rawCommand) end, true) -AddEventHandler('DeathScript:AdminReturn', function(msg, id) - TriggerClientEvent("DeathScript:ShowNotification", msg) -end) \ No newline at end of file +--AddEventHandler('DeathScript:AdminReturn', function(msg, id) + --TriggerClientEvent("DeathScript:ShowNotification", msg) +--end) \ No newline at end of file