fixing ers

This commit is contained in:
KingMcDonalds
2025-11-02 14:22:54 -08:00
parent 437ea411ef
commit 3cef7d5c06
2 changed files with 11 additions and 12 deletions
+11 -11
View File
@@ -28,18 +28,18 @@ Config = {
--====================== OPTIONAL INTEGRATIONS ======================--
Enable_Night_Shifts = { -- Optional PAID: https://store.nights-software.com/package/5667103 (Enables call forwarding to the MDT & Shift toggle via MDT, which itself offers loads of more features)
ManageShiftsByMDT = true, -- If true, the MDT will manage shift toggles instead of the ERS.
SendCalloutsToMDT = true, -- If true, callouts and pullovers will be sent to the MDT as call.
SendPulloversToMDT = true, -- If true, pullovers will be sent to the MDT as call.
UsePersistentEntities = true, -- If true, persistent entities will be used and NPC data will be stored in the database, to later look up via the MDT.
ManageShiftsByMDT = false, -- If true, the MDT will manage shift toggles instead of the ERS.
SendCalloutsToMDT = false, -- If true, callouts and pullovers will be sent to the MDT as call.
SendPulloversToMDT = false, -- If true, pullovers will be sent to the MDT as call.
UsePersistentEntities = false, -- If true, persistent entities will be used and NPC data will be stored in the database, to later look up via the MDT.
},
Enable_Night_Subtitles = true, -- Optional PAID (Included with ERS): https://store.nights-software.com/package/6043540 (Enables good looking subtitles instead of FiveM native mission text)
Enable_Nearest_Postal = true, -- Optional FREE: https://docs.nights-software.com/resources/nightShifts/#installing-nearest-postal-optional (client/c_functions.lua for GetPostal())
Enable_Discord_Webhooks = false, -- Set your webhook URL in server/s_functions.lua.
Enable_Nearest_Postal = false, -- Optional FREE: https://docs.nights-software.com/resources/nightShifts/#installing-nearest-postal-optional (client/c_functions.lua for GetPostal())
Enable_Discord_Webhooks = true, -- Set your webhook URL in server/s_functions.lua.
--====================== DISCORD RICH PRESENCE ======================--
Enable_Discord_Presence = false, -- Gives users a rich presence on Discord.
Enable_Discord_Presence = true, -- Gives users a rich presence on Discord.
Discord_Presence_Data = {
AppId = '1314195524915691581', -- Your Discord application ID.
RichPresenceAsset = "big", -- Your Discord rich presence asset name.
@@ -84,10 +84,10 @@ Config = {
-- If you are using Night Shifts MDT, duty will be managed by the MDT. Roles defined here will not be relevant in that case.
PermissionRoles = {
PoliceRoles = {"First Responders", "police"}, -- Example of two roles (you can add more.)
AmbulanceRoles = {"First Responders", "ambulance"},
FireRoles = {"First Responders", "fire"},
TowRoles = {"First Responders", "tow"},
PoliceRoles = {"Essex_Police_Force", "police"}, -- Example of two roles (you can add more.)
AmbulanceRoles = {"Ambulance_Service", "ambulance"},
FireRoles = {"Fire_Service", "fire"},
TowRoles = {"AA_Recovery", "tow"},
},
--====================== GENERAL SETTINGS ======================--
-1
View File
@@ -209,7 +209,6 @@ ensure vMenu
ensure Delete-Vehicle
ensure night_discordapi
ensure night_shifts
ensure night_ers
ensure night_subtitles
ensure map_postals