796 lines
43 KiB
Lua
796 lines
43 KiB
Lua
Config = Config or {}
|
|
|
|
Config = {
|
|
|
|
ConfigVersion = "1.8.1",
|
|
|
|
Debug = false, -- Enable or disable Debug, recommended to set to false for improved gameplay (resmon is very high in debug mode).
|
|
EventPrefix = "night_ers", -- Leave this be.
|
|
Language = "en", -- Available languages: en | us | nl | de | fr | he | cs | pt-br | sv | (Ajust text in config/translations.lua)
|
|
SoundLanguage = "en", -- Available languages: en | us | fr | de | (Ajust text in config/sound-config.lua)
|
|
DOBFormat = "en", -- Options: en | us
|
|
UseImperial = false, -- Options: true = feet (mi) | false = meters (km) (Determines whether to display distances in feet (true) or meters (false))
|
|
Timezone = "Europe/London", -- Set the timezone which the script uses. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
|
|
--[[ IMPORTANT: https://docs.fivem.net/natives/?_0xA0F2201F
|
|
[OPTIONS FOR ServerLockDownMode (below)]
|
|
"strict" No entities can be created by clients at all.
|
|
"relaxed" Only script-owned entities created by clients are blocked.
|
|
"inactive" Clients can create any entity they want.
|
|
]]
|
|
ServerLockDownModeRoutingBucketList = {
|
|
{routingBucketId = 0, lockDownMode = "inactive"}, -- Default routing bucket when loading into the server as a player.
|
|
{routingBucketId = 1, lockDownMode = "inactive"},
|
|
{routingBucketId = 2, lockDownMode = "relaxed"},
|
|
{routingBucketId = 3, lockDownMode = "strict"},
|
|
},
|
|
|
|
--====================== 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 = 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 = 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 = 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.
|
|
RichPresenceAssetText = "Emergency Response Simulator", -- Your Discord rich presence asset text.
|
|
RichPresenceAssetSmall = { -- Your Discord rich presence small asset name used for each service.
|
|
["offduty"] = "small",
|
|
["police"] = "police",
|
|
["fire"] = "fire",
|
|
["ambulance"] = "ambulance",
|
|
["tow"] = "tow",
|
|
},
|
|
RichPresenceAssetSmallText = { -- Your Discord rich presence small asset text used for each service.
|
|
["offduty"] = "Off Duty",
|
|
["police"] = "Police",
|
|
["fire"] = "Fire",
|
|
["ambulance"] = "Ambulance",
|
|
["tow"] = "Tow",
|
|
},
|
|
RichPresenceButton = { -- Your Discord rich presence buttons - up to 2 buttons.
|
|
[0] = { enabled = true, label = "Join Server", url = "fivem://connect/YOURSERVERHASH" },
|
|
}
|
|
},
|
|
|
|
--====================== PERMISSIONS FOR SHIFT ACCESS ======================--
|
|
|
|
-- IMPORTANT WHEN USING NIGHT SHIFTS MDT: Set every permission to false if Enable_Night_Shifts is true. That will determine your shift type instead of these permissions.
|
|
|
|
EveryoneHasPermission = true, -- Anyone can go on shift for any service and can get any callout offered. If you use permissions and disable this, callouts are offered based on PermissionRoles.
|
|
IgnoreUnitRequirement = false, -- true = Any unit can receive callouts for any service. | false = Callouts are offered by service type (Police, fire, ambulance, tow).
|
|
DisplayUnitWaypoints = true, -- true = Display unit waypoints on screen. | false = Do not display unit waypoints on screen. (enabled is higher resmon)
|
|
|
|
Enable_Night_DiscordApi_Permissions = false, -- server/s_functions.lua
|
|
Enable_Ace_Permissions = false, -- server/s_functions.lua
|
|
Enable_ESX_Permissions = {
|
|
Check_By_Job = false, -- server/s_functions.lua
|
|
Check_By_Permissions = false, -- server/s_functions.lua
|
|
},
|
|
Enable_QBCore_Permissions = {
|
|
Check_By_Job = false, -- server/s_functions.lua
|
|
Check_By_Permissions = false, -- server/s_functions.lua
|
|
},
|
|
|
|
-- 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 = {"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 ======================--
|
|
|
|
Callouts = {}, -- Do not change this.
|
|
EnableRadialMenu = true, -- Disabling this forces your players to use commands and/or hotkeys only. The radial menu offers several handy options during gameplay.
|
|
RadialMenuRollOverButtonSound = "rollover", -- NUI/sounds/rollover.ogg
|
|
|
|
CalloutBlipData = { -- https://docs.fivem.net/docs/game-references/blips/
|
|
DisplayId = 2, -- On map & on legend.
|
|
SpriteId = 9, -- Sprite type
|
|
Scale = 0.5, -- Scale
|
|
Alpha = 150, -- Transparency 0/255
|
|
ColourId = 47, -- Colour
|
|
RouteColourId = 47, -- Route color
|
|
},
|
|
|
|
TrackedUnitBlipData = { -- https://docs.fivem.net/docs/game-references/blips/
|
|
DisplayId = 2, -- On map & on legend.
|
|
SpriteId = 1, -- Sprite type
|
|
Scale = 0.5, -- Scale
|
|
Alpha = 225, -- Transparency 0/255
|
|
ColourId = 30, -- Colour
|
|
RouteColourId = 30, -- Route color
|
|
},
|
|
|
|
-- Callout Offers
|
|
OfferCalloutsWithinRangeOf = 3000, -- Distance in GTA meters between player and callouts, as the crow flies (lineair dist).
|
|
OfferCalloutInterval = {120, 300}, -- Seconds inbetween which a callout is offered. (3-5 minutes by default) (Minimum 60 seconds, maximum no limit)
|
|
OfferedCalloutTimeout = 15, -- Seconds after which the callout offer is expired. (15 seconds by default)
|
|
EnableOnScreenCalloutWaypoint = true, -- true: Shows an on-screen waypoint towards the callout. false: Doesn't.
|
|
|
|
-- Dispatch messages
|
|
DispatchResponseMessageTimeout = 15, -- Seconds after the next dispatch message is displayed (Goes for response dispatch messages on which units can track the responding unit).
|
|
DispatchArrivalMessageTimeout = 5, -- Seconds after the next dispatch message is displayed (Goes for arrival dispatch messages).
|
|
DispatchStatusMessageTimeout = 3, -- Seconds after the next dispatch message is displayed (Goes for status dispatch messages).
|
|
DispatchMessageBackupRequestsTimeout = 3, -- Seconds after the next dispatch message is displayed (Goes for backup request notifications)
|
|
|
|
-- Information prompts
|
|
EnableVehicleInformationPrompt = true, -- If true, vehicle information will be displayed in a UI, otherwise you'll have to use Night Shifts MDT or an external integration to get vehicle information.
|
|
EnableIDCardInformationPrompt = true, -- If true, ID card information will be displayed in a UI, otherwise you'll have to use Night Shifts MDT or an external integration to look up more information about the person by their name and DOB.
|
|
|
|
-- Other
|
|
DistanceToAimAndOrderPeds = 25.0, -- Distance in GTA meters between you and the ped you desire to order something whilst aiming at them.
|
|
TimeToAutoStopTrackingUnit = 360, -- Seconds after which the blip route to the tracked unit is removed automatically by the system. (6 minutes by default)
|
|
EnableRenderedTextDrawingOnAim = true, -- false = less resmon, true = 3D text drawing & more resmon.
|
|
ShowBlipsForEntitiesOnCallouts = true, -- false = show no blips for entities, true = show blips for entites on callouts.
|
|
NPCChanceToFleeDuringInteraction = 20, -- Percentage of chance to flee of a total of 100%.
|
|
NPCChanceToBeDrunkAtInteraction = 15, -- Percentage of chance to be drunk of a total of 100%.
|
|
NPCChanceToBeDruggedAtInteraction = 15, -- Percentage of chance to be drugged of a total of 100%.
|
|
ShowHintPopupByDefault = true, -- If the hints popup (on callouts for example) should be shown by default
|
|
EnableCalloutEntityMarkers = false, -- If enabled, callout entities will have markers drawn above their head, this helps identify your targets, but uses more resmon.
|
|
DisableSubtitlesEntirely = false, -- Disable subtitles / mission text entirely.
|
|
DisableStunGunKills = true, -- If stun gun kills are disabled.
|
|
|
|
-- Behaviour State (Mood)
|
|
EnableBehaviourState3DLabels = true, -- If 3D labels should be shown above NPC's when they are in a specific behaviour state.
|
|
BehaviourState3DLabelsDuration = 5000, -- Duration of the 3D labels in milliseconds.
|
|
|
|
-- Radio Animation
|
|
RadioAnimationDictionary = "random@arrests",
|
|
RadioAnimationName = "generic_radio_enter",
|
|
RadioAnimationDuration = 3000,
|
|
|
|
-- Important gameplay settings
|
|
DisablePvP = false, -- Disable PvP. (True = Player killing disabled. | False = Player killing enabled.)
|
|
DisableWantedLevel = true, -- Disable wanted level.
|
|
DisableEngineDispatchServices = true, -- Disable NPC's spawned by the base game engine to respond to incidents (Ambulance, fire etc.).
|
|
DisableBaseGameCopSpawn = true, -- Disable base game engine spawned police officers (at stations for example).
|
|
DisableWeaponDrops = true, -- Disable weapon drops.
|
|
DisableWeaponsFromVehicles = true, -- Disable spawning weapons from vehicles.
|
|
DisableStamina = true, -- Disable using stamina.
|
|
|
|
--====================== TARGET INTEGRATION ======================--
|
|
|
|
Target = {
|
|
Enabled = false, -- Use target system instead of text prompt. Disabling this disables all target interactions
|
|
System = "ox-target", -- Options: "ox-target" | "qb-target"
|
|
|
|
PedInteract = {
|
|
Enabled = true, -- Use for ped interaction menu
|
|
Icon = "fa-solid fa-hand", -- Font awesome icon https://fontawesome.com/icons
|
|
Label = "Interact with person", -- Label displayed for interaction
|
|
|
|
--For injured Peds
|
|
InjuredIcon = "fa-solid fa-heart-pulse",
|
|
InjuredLabel = "Interact with injured person",
|
|
},
|
|
GearInteract = {
|
|
Enabled = true, -- Use for gear ped interaction menu
|
|
Icon = "fa-solid fa-hand", -- Font awesome icon https://fontawesome.com/icons
|
|
Label = "Collect gear", -- Label displayed for interaction
|
|
},
|
|
ObjInteract = {
|
|
Enabled = true, -- Use for object cleanup interaction
|
|
Icon = "fa-regular fa-trash-can", -- Font awesome icon https://fontawesome.com/icons
|
|
Label = "Clean-up object", -- Label displayed for interaction
|
|
},
|
|
StretcherInteract = {
|
|
Enabled = true, -- Use for stretcher interaction
|
|
--Putting stretcher into ambulance
|
|
AmbulanceInIcon = "fa-solid fa-arrow-left",
|
|
AmbulanceInLabel = "Place stretcher into ambulance",
|
|
--Remove stretcher from ambulance
|
|
AmbulanceOutIcon = "fa-solid fa-arrow-right",
|
|
AmbulanceOutLabel = "Take stretcher out of ambulance",
|
|
--Stretcher Actions
|
|
StretcherGrabIcon = "fa-solid fa-hand",
|
|
StretcherGrabLabel = "Grab Stretcher",
|
|
LowerStretcherIcon = "fa-solid fa-arrow-down",
|
|
LowerStretcherLabel = "Lower stretcher",
|
|
RaiseStretcherIcon = "fa-solid fa-arrow-up",
|
|
RaiseStretcherLabel = "Raise stretcher",
|
|
GetOnStretcherIcon = "fa-solid fa-bed-pulse",
|
|
GetOnStretcherLabel = "Get on or off stretcher",
|
|
},
|
|
SpikestripInteract = {
|
|
Enabled = true, -- Use for spikestrip interaction
|
|
Icon = "fa-solid fa-road-spikes", -- Font awesome icon https://fontawesome.com/icons
|
|
Label = "Grab or put away spikestrip", -- Label displayed for interaction vehicle
|
|
GroundLabel = "Pick up spikestrip", -- Label displayed for interaction ground
|
|
},
|
|
ImpoundInteract = {
|
|
Enabled = true, -- Use for impound interaction
|
|
Icon = "fa-solid fa-car", -- Font awesome icon https://fontawesome.com/icons
|
|
Label = "Impound vehicle", -- Label displayed for interaction
|
|
},
|
|
VehicleSearchInteract = {
|
|
Enabled = true, -- Use for vehicle search interaction
|
|
Icon = "fa-solid fa-magnifying-glass", -- Font awesome icon https://fontawesome.com/icons
|
|
Label = "Search vehicle section", -- Label displayed for interaction
|
|
},
|
|
},
|
|
|
|
--====================== HOTKEYS & COMMANDS ======================--
|
|
|
|
HotKeys = { -- https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
|
|
|
|
-- Shift
|
|
ToggleShift = "F11", -- Button to toggle shift on/off.
|
|
|
|
-- Callouts
|
|
AcceptCallout = "Y", -- Button to accept an offered callout.
|
|
CompleteCallout = "X", -- Button to complete currently active callout.
|
|
TrackUnit = "E", -- Button to track a unit responding to a callout when offered by the system to track.
|
|
RadialMenu = "Z", -- Button to open radial menu for NPC backup requests.
|
|
PullOver = "LSHIFT", -- Button to attempt to pull someone over.
|
|
PullOverMode = "U", -- Button to change pull over mode (when a vehicle was targeted for pullover)
|
|
|
|
-- User Interface
|
|
ToggleCalloutInfo = "PAGEDOWN", -- Toggles the callout interface on/off screen, when attached to a callout.
|
|
ToggleDispatchMessages = "", -- Toggles dispatch messages when on shift.
|
|
|
|
-- Ped Interaction -- "" to use no default hotkey and let clients set it themselves if they like. Otherwise use the command.
|
|
InteractWithPed = "E", -- Button to interact with a ped.
|
|
OrderOnKneesOrStandUp = "E", -- Button to order a ped to knees/stand up whilst aiming at the ped or stop / release an animal.
|
|
CleanupObject = "E", -- Button to clean up nearby callout spawned objects.
|
|
ImpoundInteract = "E", -- Button to interact with the impound ped.
|
|
GearInteract = "E", -- Button to interact with the gear ped.
|
|
|
|
-- Stretcher Interaction
|
|
GrabStretcher = "E", -- Button to grab and release a stretcher (E by default).
|
|
LowerStretcher = "DOWN", -- Button to lower the stretcher you're using (ARROW DOWN by default).
|
|
RaiseStretcher = "UP", -- Button to raise the stretcher you're close to (ARROW DOWN by default).
|
|
InteractWithStretcherAndVeh = "H", -- Button to take/put stretcher from/into vehicle. (H by default.)
|
|
DropOffPedAtHospital = "RETURN",-- Button to drop off a ped at a hospital when on a stretcher being strolled. (ENTER by default)
|
|
GetOnOrOffStretcher = "L", -- Button to get on or off a stretcher. (L by default.)
|
|
|
|
-- Spikestrips
|
|
TakeOutOrPutAwaySpikestripFromVehicle = "E", -- Button to take out or put away a spikestrip from a vehicle.
|
|
DeployOrPickupSpikestrip = "UP", -- Button to deploy or pickup a spikestrip.
|
|
|
|
-- Vehicle Search
|
|
SearchVehicle = "O", -- Button to search a vehicle.
|
|
|
|
-- Pursuit Mode
|
|
CancelPursuit = "", -- Button to cancel the pursuit. (Empty by default)
|
|
PursuitRadialMenu = "B", -- Button to open the pursuit backup radial menu.
|
|
ZoomInOnPursuitTarget = "H", -- Button to zoom in on the pursuit target.
|
|
|
|
-- Tow Tools
|
|
ConnectClosestVehicle = "", -- Button to connect the closest vehicle to the towing vehicle. (None by default)
|
|
},
|
|
|
|
Commands = {
|
|
-- Callouts
|
|
ToggleShift = "toggleshift",
|
|
ToggleCallouts = "togglecallouts",
|
|
AcceptCallout = "acceptcallout",
|
|
RequestCalloutManually = "requestcallout",
|
|
StopTrackingUnit = "stoptracking",
|
|
CompleteCallout = "completecallout",
|
|
RequestAmbulance = "requestambulance",
|
|
CancelAmbulance = "cancelambulance",
|
|
RequestPolice = "requestpolice",
|
|
CancelPolice = "cancelpolice",
|
|
RequestTaxi = "requesttaxi",
|
|
CancelTaxi = "canceltaxi",
|
|
RequestTow = "requesttow",
|
|
CancelTow = "canceltow",
|
|
RequestRoadService = "requestroadservice",
|
|
CancelRoadService = "cancelroadservice",
|
|
RequestCoroner = "requestcoroner",
|
|
CancelCoroner = "cancelcoroner",
|
|
RequestAnimalRescue = "requestanimalrescue",
|
|
CancelAnimalRescue = "cancelanimalrescue",
|
|
RequestMechanic = "requestmechanic",
|
|
CancelMechanic = "cancelmechanic",
|
|
RequestFire = "requestfire",
|
|
CancelFire = "cancelfire",
|
|
RadialMenu = "ersradialmenu",
|
|
PullOver = "pullover",
|
|
PullOverMode = "pullovermode",
|
|
InteractWithPed = "interact",
|
|
CleanupObject = "broom",
|
|
SpawnStretcher = "spawnstretcher",
|
|
DeleteStretcher = "deletestretcher",
|
|
GrabStretcher = "grabstretcher",
|
|
LowerStretcher = "lowerstretcher",
|
|
RaiseStretcher = "raisestretcher",
|
|
InteractWithStretcherAndVeh = "vstretcher",
|
|
DropOffPedAtHospital = "dropoffped",
|
|
TrackUnit = "track", -- Syntax: /track [userServerId]
|
|
TakeOutOrPutAwaySpikestripFromVehicle = "grabstinger",
|
|
DeployOrPickupSpikestrip = "stinger",
|
|
GetOnOrOffStretcher = "stretcher",
|
|
ImpoundInteract = "impound",
|
|
GearInteract = "gear",
|
|
SearchVehicle = "searchveh",
|
|
ZoomInOnPursuitTarget = "zoompursuit",
|
|
PursuitRadialMenu = "pursuitbackup",
|
|
CancelPursuit = "cancelpursuit",
|
|
|
|
-- User Interface
|
|
ToggleCalloutInfo = "togglecalloutinfo",
|
|
ToggleDispatchMessages = "toggledispatchmessages",
|
|
|
|
-- Tow Tools
|
|
ConnectClosestVehicle = "ccv",
|
|
|
|
-- Hints
|
|
ToggleHints = "togglehints",
|
|
},
|
|
|
|
CommandsHelpText = {
|
|
ToggleShift = "Command used to go on or off shift.",
|
|
ToggleCallouts = "Command used to toggle callout offers for the ERS.",
|
|
AcceptCallout = "Command used to accept an offered callout.",
|
|
RequestCalloutManually = "Command used to request a callout manually.",
|
|
StopTrackingUnit = "Command used to manually stop tracking a unit.",
|
|
CompleteCallout = "Command used to complete the current callout.",
|
|
RequestAmbulance = "Command used to request an ambulance for nearby people.",
|
|
CancelAmbulance = "Command used to cancel the request for an ambulance.",
|
|
RequestPolice = "Command used to request police transport for the nearest person.",
|
|
CancelPolice = "Command used to cancel the police transport request.",
|
|
RequestTaxi = "Command used to request a taxi for the nearest person.",
|
|
CancelTaxi = "Command used to cancel a taxi request.",
|
|
RequestTow = "Command used to request a tow truck to pick up the nearest vehicle.",
|
|
CancelTow = "Command used to cancel the vehicle pick up request.",
|
|
RequestRoadService = "Command used to request road service.",
|
|
CancelRoadService = "Command used to cancel the road service request.",
|
|
RequestCoroner = "Command used to request a coroner.",
|
|
CancelCoroner = "Command used to cancel the coroner request.",
|
|
RequestAnimalRescue = "Command used to request an animal rescue.",
|
|
CancelAnimalRescue = "Command used to cancel the animal rescue request.",
|
|
RequestMechanic = "Command used to request a mechanic.",
|
|
CancelMechanic = "Command used to cancel the mechanic request.",
|
|
RequestFire = "Command used to request fire services.",
|
|
CancelFire = "Command used to cancel the fire service request.",
|
|
InteractWithPed = "Command used to interact with a nearby person.",
|
|
RadialMenu = "Command used to open the radial menu for backup requests.",
|
|
PullOver = "Command used to pull over a vehicle.",
|
|
CleanupObject = "Command used to clean up nearby objects.",
|
|
SpawnStretcher = "Command used to spawn a stretcher.",
|
|
DeleteStretcher = "Command used to delete a nearby stretcher.",
|
|
GrabStretcher = "Command used to grab a nearby stretcher.",
|
|
LowerStretcher = "Command used to lower a stretcher you are using.",
|
|
RaiseStretcher = "Command used to raise a nearby stretcher.",
|
|
InteractWithStretcherAndVeh = "Command used to interact with a stretcher and vehicle.",
|
|
DropOffPedAtHospital = "Command used to drop of a person at the hospital when on a stretcher being pushed",
|
|
TrackUnit = "Command used to track another unit on a callout.",
|
|
TrackUnit2 = "id",
|
|
TrackUnit3 = "Insert the players' server ID.",
|
|
TakeOutOrPutAwaySpikestripFromVehicle = "Command used to grab spikestrips from a vehicle.",
|
|
DeployOrPickupSpikestrip = "Command used to deploy or pickup a spikestrip.",
|
|
ImpoundInteract = "Command used to interact with the impound ped.",
|
|
GearInteract = "Command used to interact with the gear ped.",
|
|
SearchVehicle = "Command used to search a vehicle.",
|
|
ZoomInOnPursuitTarget = "Command used to zoom in on the pursuit target briefly.",
|
|
PursuitRadialMenu = "Command used to open the pursuit backup radial menu.",
|
|
CancelPursuit = "Command used to cancel the pursuit.",
|
|
|
|
-- User Interface
|
|
ToggleCalloutInfo = "Command to toggle your callout information & task display.",
|
|
ToggleDispatchMessages = "Command to toggle receiving dispatch messages.",
|
|
|
|
-- Tow Tools
|
|
ConnectClosestVehicle = "Command used to connect the closest vehicle to the towing vehicle.",
|
|
|
|
-- Hints
|
|
ToggleHints = "Command used to toggle hints at certain events.",
|
|
},
|
|
|
|
--====================== CORONER BODY BAG SETTINGS ======================--
|
|
|
|
BodyBagProp = "xm_prop_body_bag",
|
|
BodyBagOffsetZ = 0.0, -- use -1.0 for example. For this prop 0.0 works.
|
|
|
|
--====================== CALLOUT ENTITY BLIPS ======================--
|
|
|
|
NPCPullOverDrivingStyle = 4457276,
|
|
NPCFleeDrivingStyle = 2884412,
|
|
CalloutEntityBlipSprite = 14,
|
|
CalloutEntityBlipColour = 50,
|
|
CalloutEntityBlipScale = 0.75,
|
|
|
|
--====================== PROPS & ANIMATIONS ======================--
|
|
|
|
FriskAnimationDictionary = "custom@police", -- Custom emote (credits to ultrahacx)
|
|
FriskAnimation = "police", -- Custom emote (credits to ultrahacx)
|
|
|
|
--====================== PED CPR ======================--
|
|
|
|
SurvivalChanceOnCPR = 80, -- Precentage (of 100%) to survive.
|
|
|
|
--====================== Fire Settings (SmartFires from LondonStudios https://store.londonstudios.net/category/fire-resources) ======================--
|
|
-- IMPORTANT: The included lite resources only provide a minimum amount of variations for fire/smoke types. Consider getting the full experience at London Studios :)
|
|
-- They offer more resources which are very usefull when playing ERS, discover them all via the link above.
|
|
|
|
-- Size settings
|
|
RandomHugeFireOrSmokeSize = {8.0, 9.0, 10.0},
|
|
RandomLargeFireOrSmokeSize = {5.0, 6.0, 7.0},
|
|
RandomMediumFireOrSmokeSize = {3.0, 4.0, 5.0},
|
|
RandomSmallFireOrSmokeSize = {1.0, 2.0, 3.0},
|
|
|
|
-- Fire
|
|
AllFireTypes = {"normal", "normal2", "normal3", "electrical", "bonfire", "chemical"},
|
|
NormalFireTypes = {"normal", "normal2", "normal3"},
|
|
ElectricalFire = "electrical",
|
|
ChemicalFire = "chemical",
|
|
BonFire = "bonfire",
|
|
|
|
-- Smoke
|
|
AllSmokeTypes = {"electrical", "normal", "white", "foggy", "normal2", "normal3", "normal4", "normal5", "normal6"},
|
|
NormalSmokeTypes = {"normal", "normal2", "normal3", "normal4", "normal5", "normal6"},
|
|
ElectricalSmoke = "electrical",
|
|
FoggySmoke = "foggy",
|
|
|
|
--====================== Suspect Arrest (Custody) Settings ======================--
|
|
|
|
ShowBustedScreen = true,-- Shows Suspect Arrested in GTA style, when arresting a suspect.
|
|
CustodyRadius = 50.0, -- In which range must the player be to put an NPC into custody.
|
|
CustodyBlipData = { -- https://docs.fivem.net/docs/game-references/blips/
|
|
Enabled = true, -- Set to false to disable blips for the custody locations.
|
|
Name = "Custody center",
|
|
Sprite = 237,
|
|
Display = 2,
|
|
ShortRange = true,
|
|
Colour = 38,
|
|
Scale = 0.75,
|
|
Alpha = 200,
|
|
},
|
|
CustodyLocations = {
|
|
vector3(533.8215, -12.1921, 70.6256), -- Downtown Vinewood Police Station
|
|
vector3(475.0804, -1021.3436, 28.0728), -- Mission Row Police Station
|
|
vector3(-441.9879, 6017.8491, 31.6403), -- Paleto Bay Police Station
|
|
vector3(1851.2694, 3692.9575, 34.2194), -- Sandy Shores Police Station
|
|
},
|
|
|
|
--====================== Incident Blip Settings ======================--
|
|
|
|
EnableIncidentBlips = true, -- Enables or disables the creation of blips for incidents.
|
|
IncidentBlipsTimeout = 120, -- Removes the blip automatically after x seconds.
|
|
IncidentBlipsData = {
|
|
DisplayId = 2, -- On map & on legend.
|
|
SpriteId = 468, -- Sprite type
|
|
Scale = 1.0, -- Scale
|
|
Alpha = 225, -- Transparency 0/255
|
|
ColourId = 1, -- Colour
|
|
},
|
|
|
|
--====================== Passenger Selector Settings on Interactions ======================--
|
|
|
|
PassengerSelectorMarkerData = {
|
|
MarkerId = 21 --[[ integer ]],
|
|
dirX = 0 --[[ number ]],
|
|
dirY = 0 --[[ number ]],
|
|
dirZ = 0 --[[ number ]],
|
|
rotX = 0 --[[ number ]],
|
|
rotY = 180.0 --[[ number ]],
|
|
rotZ = 0 --[[ number ]],
|
|
scaleX = 0.25 --[[ number ]],
|
|
scaleY = 0.25 --[[ number ]],
|
|
scaleZ = 0.25 --[[ number ]],
|
|
red = 255 --[[ integer ]],
|
|
green = 165 --[[ integer ]],
|
|
blue = 0 --[[ integer ]],
|
|
alpha = 100 --[[ integer ]],
|
|
bobUpAndDown = false --[[ boolean ]],
|
|
faceCamera = true --[[ boolean ]],
|
|
p19 = 0 --[[ integer ]],
|
|
rotate = false --[[ boolean ]],
|
|
textureDict = 0 --[[ string ]],
|
|
textureName = 0 --[[ string ]],
|
|
drawOnEnts = 0 --[[ boolean ]]
|
|
},
|
|
|
|
--====================== NPC License Settings ======================--
|
|
-- These are random results when an NPC shows their license (Use AI to translate these, works fast if needed!)
|
|
|
|
ChanceToHaveRecords = 15, -- 15% chance of the person having records (flags, markers or warrants) in Police Database
|
|
|
|
RandomLicenseResults = {
|
|
-- Colour Options: text-danger, text-warning, text-success, text-info, text-muted
|
|
-- Chance is calculated as a percentage of the total chance to have records.
|
|
{Status = "Revoked", IsStatusValid = false, Colour = "text-danger", Icon = "fas fa-ban", Chance = 10},
|
|
{Status = "Invalid", IsStatusValid = false, Colour = "text-danger", Icon = "fas fa-ban", Chance = 5},
|
|
{Status = "Expired", IsStatusValid = false, Colour = "text-danger", Icon = "fas fa-ban", Chance = 15},
|
|
{Status = "Valid", IsStatusValid = true, Colour = "text-success", Icon = "fas fa-check", Chance = 30},
|
|
{Status = "Reported Stolen (valid)", IsStatusValid = true, Colour = "text-warning", Icon = "fas fa-exclamation-triangle", Chance = 5},
|
|
{Status = "International License (valid)", IsStatusValid = true, Colour = "text-success", Icon = "fas fa-globe", Chance = 15},
|
|
{Status = "No license", IsStatusValid = false, Colour = "text-muted", Icon = "fas fa-ban", Chance = 20},
|
|
},
|
|
|
|
RandomFlagsOrMarkersDescriptions = {
|
|
armed_and_dangerous = {
|
|
"Assault with a weapon.",
|
|
"Brandishing a firearm in public.",
|
|
"Suspected of multiple armed robberies.",
|
|
"Carrying a concealed weapon without a permit.",
|
|
"Threatening public safety with a firearm.",
|
|
"Involved in a shootout with law enforcement."
|
|
},
|
|
assault = {
|
|
"Aggressive behavior towards an officer.",
|
|
"Involved in a bar fight causing severe injuries.",
|
|
"Repeated domestic violence incidents.",
|
|
"Assaulting a public official.",
|
|
"Physical altercation in a public place.",
|
|
"Assault with intent to cause bodily harm."
|
|
},
|
|
burglary = {
|
|
"Caught on surveillance breaking into a jewelry store.",
|
|
"Linked to a series of home invasions.",
|
|
"Attempted break-in at a commercial property.",
|
|
"Possession of burglary tools.",
|
|
"Breaking and entering into a residential home.",
|
|
"Stealing from a vehicle."
|
|
},
|
|
drug_related = {
|
|
"Operating a large-scale drug distribution network.",
|
|
"Caught manufacturing illegal substances.",
|
|
"Possession with intent to distribute.",
|
|
"Trafficking controlled substances.",
|
|
"Caught with illegal drug paraphernalia.",
|
|
"Under the influence of illegal drugs in public."
|
|
},
|
|
gang_affiliation = {
|
|
"Leader of a notorious street gang.",
|
|
"Involved in gang-related shootings.",
|
|
"Organizing criminal gang activities.",
|
|
"Gang-related extortion activities.",
|
|
"Participating in a gang fight.",
|
|
"Vandalism linked to gang activity."
|
|
},
|
|
homicide = {
|
|
"Prime suspect in a high-profile murder case.",
|
|
"Linked to multiple unsolved homicides.",
|
|
"Attempted murder charge.",
|
|
"Involvement in a murder-for-hire plot.",
|
|
"Accessory to a homicide.",
|
|
"Manslaughter during a criminal act."
|
|
},
|
|
kidnapping = {
|
|
"Abducted a high-profile individual for ransom.",
|
|
"Involved in multiple kidnapping cases.",
|
|
"Attempted kidnapping at gunpoint.",
|
|
"Holding a person against their will.",
|
|
"Kidnapping linked to organized crime.",
|
|
"Using a vehicle to facilitate a kidnapping."
|
|
},
|
|
mental_health_issues = {
|
|
"History of violent outbursts in public.",
|
|
"Escaped from a mental health facility.",
|
|
"Non-compliance with mental health treatment.",
|
|
"Threatening behavior due to mental instability.",
|
|
"Detained for psychiatric evaluation.",
|
|
"Public disturbance linked to mental health."
|
|
},
|
|
sex_offense = {
|
|
"Convicted of multiple sexual assaults.",
|
|
"Registered offender violating parole.",
|
|
"Multiple counts of sexual assault.",
|
|
"Serial sexual assault suspect.",
|
|
"Indecent exposure in a public place.",
|
|
"Sexual harassment with physical contact."
|
|
},
|
|
terrorism = {
|
|
"Suspected of planning a terrorist attack.",
|
|
"Linked to a known terrorist organization.",
|
|
"Possession of materials for making explosives.",
|
|
"Threatening national security.",
|
|
"Involvement in a cyber-terrorism plot.",
|
|
"Funding terrorist activities."
|
|
},
|
|
theft = {
|
|
"Part of a car theft ring.",
|
|
"Caught shoplifting high-value items.",
|
|
"Pickpocketing in a crowded area.",
|
|
"Stealing from a place of employment.",
|
|
"Identity theft and fraud.",
|
|
"Receiving stolen property."
|
|
},
|
|
traffic_violation = {
|
|
"Repeated DUI offenses.",
|
|
"Fleeing from law enforcement during a traffic stop.",
|
|
"Driving without a valid license.",
|
|
"Excessive speeding in a residential area.",
|
|
"Reckless driving causing an accident.",
|
|
"Running multiple red lights."
|
|
},
|
|
wanted_person = {
|
|
"Repeated Offender",
|
|
"Did not report for court",
|
|
"Did not report for parole",
|
|
"Did not report for probation",
|
|
"Escaped Prisoner",
|
|
"Fugitive",
|
|
"Probation Violation",
|
|
"Violent History",
|
|
"Flight Risk",
|
|
"High Profile Case",
|
|
"Substance Abuse Treatment",
|
|
"Frequent Domestic Disputes"
|
|
},
|
|
other = {
|
|
"Repeated Offender",
|
|
"Did not report for court",
|
|
"Did not report for parole",
|
|
"Did not report for probation",
|
|
"Escaped Prisoner",
|
|
"Fugitive",
|
|
"Probation Violation",
|
|
"Violent History",
|
|
"Flight Risk",
|
|
"High Profile Case",
|
|
"Substance Abuse Treatment",
|
|
"Frequent Domestic Disputes"
|
|
},
|
|
active_warrant = {
|
|
"Repeated Offender",
|
|
"Did not report for court",
|
|
"Did not report for parole",
|
|
"Did not report for probation",
|
|
"Escaped Prisoner",
|
|
"Fugitive",
|
|
"Probation Violation",
|
|
"Violent History",
|
|
"Flight Risk",
|
|
"High Profile Case",
|
|
"Substance Abuse Treatment",
|
|
"Frequent Domestic Disputes"
|
|
},
|
|
},
|
|
|
|
--====================== NPC Inventory Item Settings ======================--
|
|
-- These items are randomly presented when searching an NPC. You can add or remove items and adjust legality.
|
|
|
|
NPCInventory = {
|
|
{name = "Wallet", illegal = false},
|
|
{name = "Rolex", illegal = false},
|
|
{name = "Cell Phone", illegal = false},
|
|
{name = "Knife", illegal = true},
|
|
{name = "Drugs", illegal = true},
|
|
{name = "Gun", illegal = true},
|
|
{name = "Flashlight", illegal = false},
|
|
{name = "Keys", illegal = false},
|
|
{name = "Watch", illegal = false},
|
|
{name = "Water Bottle", illegal = false},
|
|
{name = "Map", illegal = false},
|
|
{name = "First Aid Kit", illegal = false},
|
|
{name = "Lighter", illegal = false},
|
|
{name = "Matches", illegal = false},
|
|
{name = "Sunglasses", illegal = false},
|
|
{name = "Hat", illegal = false},
|
|
{name = "Backpack", illegal = false},
|
|
{name = "Injection Needle", illegal = true},
|
|
{name = "Compass", illegal = false},
|
|
{name = "Radio", illegal = false},
|
|
{name = "Camera", illegal = false},
|
|
{name = "Binoculars", illegal = false},
|
|
{name = "Gloves", illegal = false},
|
|
{name = "Scissors", illegal = false},
|
|
{name = "Rope", illegal = false},
|
|
{name = "Hammer", illegal = false},
|
|
{name = "Nails", illegal = false},
|
|
{name = "Screwdriver", illegal = false},
|
|
{name = "Plastic Bag", illegal = false},
|
|
{name = "Handcuffs", illegal = false},
|
|
{name = "Lockpick", illegal = true},
|
|
{name = "Crowbar", illegal = false},
|
|
{name = "Money", illegal = false},
|
|
{name = "Passport", illegal = false},
|
|
{name = "ID Card", illegal = false},
|
|
{name = "Credit Card", illegal = false},
|
|
{name = "Bank Statement", illegal = false},
|
|
{name = "Drivers License", illegal = false},
|
|
{name = "Firearm License", illegal = false},
|
|
{name = "Medical Prescription", illegal = false},
|
|
{name = "Joint", illegal = true},
|
|
{name = "Cigarettes", illegal = false},
|
|
{name = "Lighter Fluid", illegal = false},
|
|
{name = "Locket", illegal = false},
|
|
{name = "Necklace", illegal = false},
|
|
{name = "Bracelet", illegal = false},
|
|
{name = "Ring", illegal = false},
|
|
{name = "Smartwatch", illegal = false},
|
|
{name = "Book", illegal = false},
|
|
{name = "Notebook", illegal = false},
|
|
{name = "Pen", illegal = false},
|
|
{name = "Socks", illegal = false},
|
|
{name = "Shoes", illegal = false},
|
|
{name = "Towel", illegal = false},
|
|
{name = "Toothbrush", illegal = false},
|
|
{name = "Toothpaste", illegal = false},
|
|
{name = "Shampoo", illegal = false},
|
|
{name = "Conditioner", illegal = false},
|
|
{name = "Soap", illegal = false},
|
|
{name = "Deodorant", illegal = false},
|
|
{name = "Lip Balm", illegal = false},
|
|
{name = "Hand Sanitizer", illegal = false},
|
|
{name = "Tissues", illegal = false},
|
|
{name = "Glasses", illegal = false},
|
|
{name = "Contacts", illegal = false},
|
|
{name = "Contact Solution", illegal = false},
|
|
{name = "Hairbrush", illegal = false},
|
|
{name = "Nail Clippers", illegal = false},
|
|
{name = "Umbrella", illegal = false},
|
|
{name = "Notebook", illegal = false},
|
|
{name = "Headphones", illegal = false},
|
|
{name = "Charger", illegal = false},
|
|
{name = "USB Drive", illegal = false},
|
|
{name = "Laptop", illegal = false},
|
|
{name = "Tablet", illegal = false},
|
|
{name = "Handkerchief", illegal = false},
|
|
{name = "Belt", illegal = false},
|
|
{name = "Sunglasses Case", illegal = false},
|
|
{name = "Water Bottle", illegal = false},
|
|
{name = "Stolen Jewelry", illegal = true},
|
|
{name = "Fake ID", illegal = true},
|
|
{name = "Explosives", illegal = true},
|
|
{name = "Poison", illegal = true},
|
|
{name = "Signal Jammer", illegal = true},
|
|
-- Add more here in the same format, example:
|
|
-- {name = "iFruit phone cover", illegal = false},
|
|
},
|
|
|
|
--====================== ZONE CHANGE UI ======================--
|
|
|
|
EnableZoneChangeUI = true,
|
|
Zones = {
|
|
['AIRP'] = "Los Santos International Airport", ['ALAMO'] = "Alamo Sea", ['ALTA'] = "Alta", ['ARMYB'] = "Fort Zancudo", ['BANHAMC'] = "Banham Canyon Dr", ['BANNING'] = "Banning",
|
|
['BEACH'] = "Vespucci Beach", ['BHAMCA'] = "Banham Canyon", ['BRADP'] = "Braddock Pass", ['BRADT'] = "Braddock Tunnel", ['BURTON'] = "Burton", ['CALAFB'] = "Calafia Bridge", ['CANNY'] = "Raton Canyon",
|
|
['CCREAK'] = "Cassidy Creek", ['CHAMH'] = "Chamberlain Hills", ['CHIL'] = "Vinewood Hills", ['CHU'] = "Chumash", ['CMSW'] = "Chiliad Mountain State Wilderness", ['CYPRE'] = "Cypress Flats", ['DAVIS'] = "Davis",
|
|
['DELBE'] = "Del Perro Beach", ['DELPE'] = "Del Perro", ['DELSOL'] = "La Puerta", ['DESRT'] = "Grand Senora Desert", ['DOWNT'] = "Downtown", ['DTVINE'] = "Downtown Vinewood", ['EAST_V'] = "East Vinewood",
|
|
['EBURO'] = "El Burro Heights", ['ELGORL'] = "El Gordo Lighthouse", ['ELYSIAN'] = "Elysian Island", ['GALFISH'] = "Galilee", ['GOLF'] = "GWC and Golfing Society", ['GRAPES'] = "Grapeseed",
|
|
['GREATC'] = "Great Chaparral", ['HARMO'] = "Harmony", ['HAWICK'] = "Hawick", ['HORS'] = "Vinewood Racetrack", ['HUMLAB'] = "Humane Labs and Research", ['JAIL'] = "Bolingbroke Penitentiary",
|
|
['KOREAT'] = "Little Seoul", ['LACT'] = "Land Act Reservoir", ['LAGO'] = "Lago Zancudo", ['LDAM'] = "Land Act Dam", ['LEGSQU'] = "Legion Square", ['LMESA'] = "La Mesa", ['LOSPUER'] = "La Puerta",
|
|
['MIRR'] = "Mirror Park", ['MORN'] = "Morningwood", ['MOVIE'] = "Richards Majestic", ['MTCHIL'] = "Mount Chiliad", ['MTGORDO'] = "Mount Gordo", ['MTJOSE'] = "Mount Josiah", ['MURRI'] = "Murrieta Heights",
|
|
['NCHU'] = "North Chumash", ['NOOSE'] = "N.O.O.S.E", ['OCEANA'] = "Pacific Ocean", ['PALCOV'] = "Paleto Cove", ['PALETO'] = "Paleto Bay", ['PALFOR'] = "Paleto Forest", ['PALHIGH'] = "Palomino Highlands",
|
|
['PALMPOW'] = "Palmer-Taylor Power Station", ['PBLUFF'] = "Pacific Bluffs", ['PBOX'] = "Pillbox Hill", ['PROCOB'] = "Procopio Beach", ['RANCHO'] = "Rancho", ['RGLEN'] = "Richman Glen", ['RICHM'] = "Richman",
|
|
['ROCKF'] = "Rockford Hills", ['RTRAK'] = "Redwood Lights Track", ['SANAND'] = "San Andreas", ['SANCHIA'] = "San Chianski Mountain Range", ['SANDY'] = "Sandy Shores", ['SKID'] = "Mission Row",
|
|
['SLAB'] = "Stab City", ['STAD'] = "Maze Bank Arena", ['STRAW'] = "Strawberry", ['TATAMO'] = "Tataviam Mountains", ['TERMINA'] = "Terminal", ['TEXTI'] = "Textile City", ['TONGVAH'] = "Tongva Hills",
|
|
['TONGVAV'] = "Tongva Valley", ['VCANA'] = "Vespucci Canals", ['VESP'] = "Vespucci", ['VINE'] = "Vinewood", ['WINDF'] = "Ron Alternates Wind Farm", ['WVINE'] = "West Vinewood", ['ZANCUDO'] = "Zancudo River",
|
|
['ZP_ORT'] = "Port of South Los Santos", ['ZQ_UAR'] = "Davis Quartz"
|
|
},
|
|
|
|
--====================== DEBUG ======================--
|
|
-- Debug note: Resmon is very high during debug mode. This is in relation to all the rendering done for developer information.
|
|
|
|
-- Marker which indicates the spawn position for NPC backup, can be handy when creating callouts making sure the location is reachable properly by NPC backup.
|
|
EnabledDebugMarker = false,
|
|
MarkerData = {
|
|
MarkerId = 21 --[[ integer ]],
|
|
dirX = 0 --[[ number ]],
|
|
dirY = 0 --[[ number ]],
|
|
dirZ = 0 --[[ number ]],
|
|
rotX = 0 --[[ number ]],
|
|
rotY = 180.0 --[[ number ]],
|
|
rotZ = 0 --[[ number ]],
|
|
scaleX = 0.25 --[[ number ]],
|
|
scaleY = 0.25 --[[ number ]],
|
|
scaleZ = 0.25 --[[ number ]],
|
|
red = 255 --[[ integer ]],
|
|
green = 165 --[[ integer ]],
|
|
blue = 0 --[[ integer ]],
|
|
alpha = 75 --[[ integer ]],
|
|
bobUpAndDown = false --[[ boolean ]],
|
|
faceCamera = true --[[ boolean ]],
|
|
p19 = 0 --[[ integer ]],
|
|
rotate = false --[[ boolean ]],
|
|
textureDict = 0 --[[ string ]],
|
|
textureName = 0 --[[ string ]],
|
|
drawOnEnts = 0 --[[ boolean ]]
|
|
},
|
|
} |