diff --git a/resources/CarWipe/client/client.lua b/resources/CarWipe/client/client.lua index 852e5e6a9..4ddb02af7 100644 --- a/resources/CarWipe/client/client.lua +++ b/resources/CarWipe/client/client.lua @@ -1,10 +1,13 @@ RegisterNetEvent("delall") AddEventHandler("delall", function () if Config.alerts then + exports['okokNotify']:Alert("WARNING", "Vehicles will be wiped in 1 minute. Stay in your vehicle if you do not want it to be deleted.", 5000, 'warning') TriggerEvent("chat:addMessage", {color = { 255, 0, 0},multiline = false,args = {"[SYSTEM]", "Vehicles will be wiped in ^*^11 minute.^r Stay in your vehicle if you do not want it to be deleted."}}) Citizen.Wait(30000) + exports['okokNotify']:Alert("WARNING", "Vehicles will be wiped in 30 seconds. Stay in your vehicle if you do not want it to be deleted.", 5000, 'warning') TriggerEvent("chat:addMessage", {color = { 255, 0, 0},multiline = false,args = {"[SYSTEM]", "Vehicles will be wiped in ^*^130 seconds.^r Stay in your vehicle if you do not want it to be deleted."}}) Citizen.Wait(25000) + exports['okokNotify']:Alert("WARNING", "Vehicles will be wiped in 5 seconds. Stay in your vehicle if you do not want it to be deleted.", 5000, 'warning') TriggerEvent("chat:addMessage", {color = { 255, 0, 0},multiline = false,args = {"[SYSTEM]", "Vehicles will be wiped in ^*^15 seconds.^r Stay in your vehicle if you do not want it to be deleted."}}) Citizen.Wait(5000) end @@ -70,6 +73,7 @@ AddEventHandler("delall", function () end end if Config.DoneNotify then + exports['okokNotify']:Alert("WARNING", "Vehicles have been wiped!", 5000, 'warning') TriggerEvent("chat:addMessage", {color = { 255, 0, 0},multiline = false,args = {"[SYSTEM]", "Vehicles have been wiped!"}}) end end) diff --git a/resources/Head-Tags/client/client.lua b/resources/Head-Tags/client/client.lua index cbeb8cfe4..d803ec16f 100644 --- a/resources/Head-Tags/client/client.lua +++ b/resources/Head-Tags/client/client.lua @@ -78,7 +78,10 @@ function ManageHeadLabels() SetMpGamerTagVisibility(headDisplayId, 4, true) else headDisplayId = N_0xbfefe3321a3f5015(iPed, "", false, false, "", false ) - if has_value(staffTable,GetPlayerServerId(i)) then + if has_value(staffTable,GetPlayerServerId(i)) and has_value(afkTable,GetPlayerServerId(i)) then + SetMpGamerTagName(headDisplayId,DisplayAfkTag.." "..DisplayStaffTag.." "..GetPlayerServerId(i).." | "..GetPlayerName(i)) + SetMpGamerTagColour(headDisplayId, 0, 6) + elseif has_value(staffTable,GetPlayerServerId(i)) then SetMpGamerTagName(headDisplayId,DisplayStaffTag.." "..GetPlayerServerId(i).." | "..GetPlayerName(i)) SetMpGamerTagColour(headDisplayId, 0, 6) elseif has_value(afkTable,GetPlayerServerId(i)) then diff --git a/resources/okokNotify/client.lua b/resources/okokNotify/client.lua index 12ed4d98d..125871650 100644 --- a/resources/okokNotify/client.lua +++ b/resources/okokNotify/client.lua @@ -1,5 +1,3 @@ --- Leaked By: Leaking Hub | J. Snow | leakinghub.com - function Alert(title, message, time, type) SendNUIMessage({ action = 'open', @@ -40,5 +38,3 @@ end) RegisterCommand('longtext', function() exports['okokNotify']:Alert("LONG MESSAGE", "Lorem ipsum dolor sit amet, consectetur adipiscing elit e pluribus unum.", 5000, 'neutral') end) - --- Leaked By: Leaking Hub | J. Snow | leakinghub.com \ No newline at end of file diff --git a/resources/okokNotify/fxmanifest.lua b/resources/okokNotify/fxmanifest.lua index 6cf06fdd2..d438ab740 100644 --- a/resources/okokNotify/fxmanifest.lua +++ b/resources/okokNotify/fxmanifest.lua @@ -1,5 +1,3 @@ --- Leaked By: Leaking Hub | J. Snow | leakinghub.com - fx_version 'adamant' game 'gta5' @@ -19,5 +17,3 @@ files { } export 'Alert' - --- Leaked By: Leaking Hub | J. Snow | leakinghub.com \ No newline at end of file