210 lines
8.9 KiB
Lua
210 lines
8.9 KiB
Lua
Config = {
|
|
SupplyLineKeys = {
|
|
ConnectHydrant = 20, -- Z
|
|
StartStopFilling = 74, -- H
|
|
},
|
|
|
|
-- if useBone = true, "offsets" field will be ignored; otherwise custom offsets are enabled.
|
|
VehicleSettings = {
|
|
[`britishladder`] = {
|
|
useBone = false,
|
|
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
|
|
offsets = {
|
|
{ x = 0.8710, y = 0.1550, z = 0.0140 },
|
|
},
|
|
},
|
|
[`britishladderels`] = {
|
|
useBone = false,
|
|
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
|
|
offsets = {
|
|
{ x = 0.8710, y = 0.1550, z = 0.0140 },
|
|
},
|
|
},
|
|
[`rearmount`] = {
|
|
useBone = false,
|
|
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
|
|
offsets = {
|
|
{ x = -1.07, y = 0.9, z = -0.1 },
|
|
},
|
|
},
|
|
[`rearmountels`] = {
|
|
useBone = false,
|
|
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
|
|
offsets = {
|
|
{ x = -1.07, y = 0.9, z = -0.1 },
|
|
},
|
|
},
|
|
[`ldfoam`] = {
|
|
useBone = false,
|
|
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
|
|
offsets = {
|
|
{ x = 1.03, y = 0.1, z = -0.02 },
|
|
{ x = -0.93, y = 0.1, z = -0.52 },
|
|
},
|
|
},
|
|
[`ldfoamels`] = {
|
|
useBone = false,
|
|
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
|
|
offsets = {
|
|
{ x = 1.03, y = 0.1, z = -0.02 },
|
|
{ x = -0.93, y = 0.1, z = -0.52 },
|
|
},
|
|
},
|
|
},
|
|
|
|
EnablePositioningCommand = false,
|
|
-- This enables the /findhosepositioning command to help you find the right vehicle offsets for either
|
|
-- the hose connection or the supply line connection point. See our documentation for more info.
|
|
|
|
HydrantOffsets = {
|
|
{ model = `prop_fire_hydrant_4`, offsets = {x = 0.0, y = -0.27, z = 0.58} },
|
|
{ model = `prop_fire_hydrant_2`, offsets = {x = 0.1, y = 0.0, z = 0.4} },
|
|
{ model = `prop_fire_hydrant_1`, offsets = {x = 0.05, y = 0.0, z = 0.6} },
|
|
},
|
|
|
|
Translations = {
|
|
stopFilling = "Press Z to disconnect line\nPress H to stop filling",
|
|
startFilling = "Press Z to disconnect line\nPress H to fill tank with water",
|
|
thirdEyeConnect = "Connect line to vehicle",
|
|
thirdEyeDisconnect ="Disconnect line from vehicle",
|
|
thirdEyeStartFill = "Start filling up vehicle",
|
|
thirdEyeStopFill = "Stop filling up vehicle",
|
|
connectLine = "Press Z to connect line to truck",
|
|
waterLevel = "Water Level:",
|
|
noPermission = "You do not have access to use the supply line.",
|
|
placeHydrantCommandHelp = "Place or remove a fire hydrant",
|
|
placeHydrantCommandHelpArgument = "place/remove",
|
|
placeHydrantCommandSuccess = "Hydrant placed successfully!",
|
|
placeHydrantCommandCancel = "Placement cancelled!",
|
|
removeHydrantCommandSuccess = "Hydrant removed!",
|
|
noVehicleNearby = "No vehicle nearby found!",
|
|
cantHoldWater = "This vehicle cannot hold water",
|
|
},
|
|
|
|
PlaceHydrantCommand = {
|
|
Enabled = true,
|
|
CommandName = "hydrant",
|
|
PlaceArgument = "place",
|
|
RemoveArgument = "remove",
|
|
Permissions = {
|
|
EnablePermissions = false,
|
|
AcePermissions = {
|
|
Enabled = false,
|
|
-- The permission name will be command.hydrant
|
|
},
|
|
|
|
ESX = {
|
|
Enabled = false,
|
|
CheckJob = {
|
|
Enabled = false, -- Enable this to use ESX job check
|
|
Jobs = {"fireman"} -- A user can have any of the following jobs, allowing you to add multiple
|
|
}
|
|
},
|
|
-- We've added vRP integration. All you need to do is enable it below. Then, configure if you wish to check for groups or permissions, or even both
|
|
vRP = {
|
|
Enabled = false,
|
|
CheckGroup = {
|
|
Enabled = false, -- Enable this to use vRP group check
|
|
Groups = {"fireman"}, -- A user can have any of the following groups, meaning you can add different jobs
|
|
},
|
|
CheckPermission = {
|
|
Enabled = false, -- Enable this to use vRP permission check
|
|
Permissions = {"fireman.usehose"} -- A user can have any of the following permissions, allowing you to add multiple
|
|
},
|
|
},
|
|
-- We've added QBCore integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
|
|
QBCore = {
|
|
Enabled = false,
|
|
CheckJob = {
|
|
Enabled = false, -- Enable this to use QBCore job check
|
|
Jobs = {"fireman"}, -- A user can have any of the following jobs, meaning you can add different jobs
|
|
},
|
|
CheckPermission = {
|
|
Enabled = false, -- Enable this to use QBCore permission check
|
|
permissions = {"fireman.usehose"}, -- A user can have any of the following permissions, allowing you to add multiple
|
|
},
|
|
},
|
|
-- We've added QBX integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
|
|
QBX = {
|
|
Enabled = false,
|
|
CheckJob = {
|
|
Enabled = false, -- Enable this to use QBX job check
|
|
Jobs = {"fireman"}, -- A user can have any of the following jobs, meaning you can add different jobs
|
|
}
|
|
},
|
|
},
|
|
},
|
|
|
|
Notifications = {
|
|
Enabled = true,
|
|
Framework = {
|
|
QBCore = false,
|
|
QBX = false,
|
|
ESX = false,
|
|
vRP = false,
|
|
okok = false,
|
|
}
|
|
},
|
|
|
|
InteractType = {
|
|
HydrantInteraction = {
|
|
Drawtext = true,
|
|
ScreenPrompt = false,
|
|
WorldInteraction = false,
|
|
|
|
ThirdEye = {
|
|
enabled = false,
|
|
qbTarget = false,
|
|
oxTarget = false,
|
|
}
|
|
},
|
|
},
|
|
|
|
JobCheck = {
|
|
EnablePermissions = false, -- If set to false, all below job checks will be disabled, even if they are enabled in the config.lua
|
|
AcePermissions = {
|
|
Enabled = false,
|
|
Permission = "usehose"
|
|
},
|
|
|
|
ESX = {
|
|
Enabled = false,
|
|
CheckJob = {
|
|
Enabled = false, -- Enable this to use ESX job check
|
|
Jobs = {"fireman"} -- A user can have any of the following jobs, allowing you to add multiple
|
|
}
|
|
},
|
|
-- We've added vRP integration. All you need to do is enable it below. Then, configure if you wish to check for groups or permissions, or even both
|
|
vRP = {
|
|
Enabled = false,
|
|
CheckGroup = {
|
|
Enabled = false, -- Enable this to use vRP group check
|
|
Groups = {"fireman"}, -- A user can have any of the following groups, meaning you can add different jobs
|
|
},
|
|
CheckPermission = {
|
|
Enabled = false, -- Enable this to use vRP permission check
|
|
Permissions = {"fireman.usehose"} -- A user can have any of the following permissions, allowing you to add multiple
|
|
},
|
|
},
|
|
-- We've added QBCore integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
|
|
QBCore = {
|
|
Enabled = false,
|
|
CheckJob = {
|
|
Enabled = false, -- Enable this to use QBCore job check
|
|
Jobs = {"fireman"}, -- A user can have any of the following jobs, meaning you can add different jobs
|
|
},
|
|
CheckPermission = {
|
|
Enabled = false, -- Enable this to use QBCore permission check
|
|
permissions = {"fireman.usehose"}, -- A user can have any of the following permissions, allowing you to add multiple
|
|
},
|
|
},
|
|
-- We've added QBX integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
|
|
QBX = {
|
|
Enabled = false,
|
|
CheckJob = {
|
|
Enabled = false, -- Enable this to use QBX job check
|
|
Jobs = {"fireman"}, -- A user can have any of the following jobs, meaning you can add different jobs
|
|
}
|
|
},
|
|
},
|
|
} |