Config
file('nearestpostal/new-postals.json')
postal_file('nearestpostal/new-postals.json')config = {
Debug = {
Enabled = true, -- Enable all debugging
Priority = {
Start = true, -- Enables debugging on resource start (will be on even if Enabled = false)
Enabled = false, -- Enable priority debugging
Time = false -- Disable cooldown time debugging
}
},
ShowHUD = {
enableAopStatus = true,
enableCompass = true,
enableStreetsZone = true,
enablePostals = true,
enableTime = true,
enableNameID = true,
enablePriorityStatus = true,
},
-- AOP Config
defaultAopStatus = "State Wide",
AOPCommand = "aop", -- Command for setting AOP
AOPAcePerm = "staff.aop", -- Ace Permission for /aop
-- Priority Config
StartPriority = "cooldown", -- Priority Start Status | MUST be case sensitive
-- available / active / cooldown / hold / pending
ServerStartCooldown = 25, -- Startup Cooldown timer in minutes (ONLY WHEN SCRIPT STARTS)
CooldownTime = 20, -- Cooldown timer in minutes
SetPriorityCommand = "setp", -- Command for setting Priority
-- /setp [available / active / cooldown / hold / pending] [notes]
SetNotesCommand = "setn", -- Command for settings Notes
-- /setn [notes]
PriorityAcePermission = "staff.priority", -- Ace Permission for setting Priority
NotesAcePermission = "staff.priority", -- Ace Permission for setting Notes
-- Nearest Postal
text = {
-- The text to display on-screen for the nearest postal.
-- Formatted using Lua strings, http://www.lua.org/pil/20.html
format = '~y~Nearest Postal~w~: %s (~g~%.2fm~w~)',
},
blip = {
-- The text to display in chat when setting a new route.
-- Formatted using Lua strings, http://www.lua.org/pil/20.html
blipText = 'Postal Route %s',
-- The sprite ID to display, the list is available here:
-- https://docs.fivem.net/docs/game-references/blips/#blips
sprite = 8,
-- The color ID to use (default is 3, light blue)
-- https://docs.fivem.net/docs/game-references/blips/#blip-colors
color = 3,
-- When the player is this close (in meters) to the destination,
-- the blip will be removed.
distToDelete = 75.0,
-- The text to display in chat when a route is deleted
deleteText = '~r~Route deleted',
-- The text to display in chat when drawing a new route
drawRouteText = '~b~Drawing a route to %s',
arrived = "~g~You have arrived at your destination. Route removed.",
-- The text to display when a postal is not found.
notExistText = "~y~That postal doesn't exist"
},
-- How often in milliseconds the postal code is updated on each client.
-- I wouldn't recommend anything lower than 50ms for performance reasons
updateDelay = nil,
-- Health, Body Armor, Oxygen and Voice Chat Circles
CustomHudEnabled = true, -- Default state of custom HUD; toggle as needed
HealthBarTransitionSpeed = 1.0, -- Transition speed for health, armor, and oxygen bars
}
Last updated