All settings are in config.lua.
Language#
Config.Locale = 'en' -- 'en' or 'tr'
Lifetime#
How long objects stay on the map (minutes). Set to 0 for no limit.
Config.Lifetime = {
TapeMinutes = 180,
PropMinutes = 180,
}
Cleanup jobs#
Jobs that can remove nearby objects with [E]:
Config.Cleanup = {
InteractDistance = 2.5,
ScanDistance = 10.0,
Jobs = {
police = 0,
roadworkers = 0,
},
}
0 = minimum grade required.
Tape settings#
Config.MaxTapeDistance = 14.0 -- max line length (meters)
Config.MinTapeDistance = 0.5 -- min line length
Config.RaycastDistance = 25.0 -- aim distance
Config.MaxSegments = 45 -- max segments per line
Props#
Config.Props = {
PlaceDistance = 2.5,
ManageDistance = 8.0,
MaxPlaced = 40, -- per player
}
Supply box#
Opens the full prop menu from one inventory item:
Config.SupplyBox = {
enabled = true,
item = 'barrier_supply_box',
-- jobs = { police = 0 }, -- optional restriction
}
Add a tape#
Config.Tapes = {
{ model = 'police', item = 'tape_police' },
}
model— must match a model in s4-line-propsitem— optional ox_inventory item name
Add a prop#
Config.ExtraProps = {
{
id = 'traffic_cone',
model = 'prop_mp_cone_04',
item = 'prop_traffic_cone', -- optional
jobs = { police = 0 }, -- optional
},
}
- Props without
itemonly appear in the menu (not as inventory items). - Props with
jobsare restricted to those jobs.
Inventory bridge#
Config.Bridge = {
AutoRegisterItems = true,
ConsumeOnUse = false,
DefaultItemWeight = 200,
ItemImages = {
enabled = true,
folder = 'items',
},
}
Text UI position#
Config.TextUI = {
position = 'bottom-center',
offsetX = 0,
offsetY = 0,
}
Options: left-center, right-center, top-center, bottom-center, center, top-left, top-right, bottom-left, bottom-right.