132 lines
2.8 KiB
Lua
132 lines
2.8 KiB
Lua
--[[
|
|
-----------------------------------
|
|
-- Area of Patrol, Made by FAXES --
|
|
-- CONFIG FILE --
|
|
-----------------------------------
|
|
|
|
!!!!!!!!!IMPORTANT!!!!!!!!!
|
|
To see what each variable (configurable option) below does. Please view the link right below...
|
|
|
|
Default / Variable Docs: https://docs.faxes.zone/docs/aop-setup/#variable-documentation
|
|
]]
|
|
|
|
Config = {}
|
|
-- Disable/enable sounds
|
|
Config.Sounds = true
|
|
Config.LoopSound = true
|
|
Config.Volume = 0.5
|
|
-- Min: 0.0 Max: 1.0
|
|
|
|
-- Disable/enable Notifications
|
|
Config.Notification = false
|
|
Config.Strings = {seatbelt_on = 'Seatbelt: ~g~connected', seatbelt_off = 'Seatbelt: ~r~disconnected'}
|
|
-- Change to your own translations.
|
|
|
|
-- Disable/enable blinker image
|
|
Config.Blinker = false
|
|
|
|
-- Seatbelt button (docs.fivem.net/docs/game-references/controls) (Set to K)
|
|
Config.Control = 311
|
|
|
|
-- KM/H (must be have decimal value) (Set to 50MPH)
|
|
Config.Speed = 80.0
|
|
|
|
Config.AlarmOnlySpeed = true
|
|
Config.AlarmSpeed = 15
|
|
|
|
--[[
|
|
1. General Config & Commands
|
|
--]]
|
|
|
|
FaxCurAOP = "Los Santos"
|
|
usingPerms = true
|
|
AOPChangeNotification = true
|
|
|
|
AOPCommand = "aop"
|
|
PTCommand = "pt"
|
|
|
|
featColor = "~r~"
|
|
noPermsMessage = "~r~Insufficient Permissions."
|
|
|
|
|
|
--[[
|
|
2. Peacetime Settings
|
|
--]]
|
|
|
|
peacetime = true
|
|
peacetimeNS = true
|
|
maxPTSpeed = 100
|
|
|
|
PTOnMessage = featColor .. "Peace Time ~w~is now ~g~ in effect!"
|
|
PTOffMessage = featColor .. "Peace Time ~w~is now ~r~off."
|
|
|
|
|
|
--[[
|
|
3. DrawText Settings
|
|
--]]
|
|
|
|
AOPLocation = 6
|
|
serverPLD = false
|
|
localTime = 1
|
|
|
|
--AOPx = 0.660
|
|
--AOPy = 1.430
|
|
AOPx = 0.665
|
|
AOPy = 1.425
|
|
|
|
|
|
--[[
|
|
4. Auto AOP Settings
|
|
--]]
|
|
|
|
autoChangeAOP = false
|
|
|
|
ACAOPUnder5 = "Paleto Bay"
|
|
ACAOPUnder10 = "Sandy Shores"
|
|
ACAOPUnder20 = "Blaine County"
|
|
ACAOPUnder30 = "Los Santos"
|
|
ACAOPOver30 = "San Andreas"
|
|
|
|
|
|
--[[
|
|
5. AOP Spawn Locations
|
|
--]]
|
|
|
|
AOPSpawnsEnabled = false
|
|
AOPSpawns = {
|
|
{
|
|
AOPName = 'sandy shores',
|
|
AOPCoords = {x = 311.22, y = 3457.60, z = 36.15}
|
|
},
|
|
{
|
|
AOPName = 'paleto bay',
|
|
AOPCoords = {x = -447.24, y = 5970.46, z = 31.78}
|
|
},
|
|
{
|
|
AOPName = 'downtown',
|
|
AOPCoords = {x = 219.98, y = -913.38, z = 30.69}
|
|
},
|
|
{
|
|
AOPName = 'rockford hills',
|
|
AOPCoords = {x = -851.57, y = -128.04, z = 37.62}
|
|
},
|
|
}
|
|
|
|
-- NEW!
|
|
--[[
|
|
6. Discord Permissions
|
|
Make sure to have discord_perms installed and configured!
|
|
--]]
|
|
|
|
usingDiscordPerms = true
|
|
discordRoleIds = {
|
|
"608583076037001225",
|
|
"789551229549281331",
|
|
"517060882686279701",
|
|
"789538166536798248",
|
|
"635155687688634399",
|
|
"556158473981788176",
|
|
"650653280275267591",
|
|
"671141073728307228",
|
|
"361899298209923075"
|
|
} |