Territory Configuration
This will show you an example entry and teach you on how to configure or add a territory.
['Southern Grove'] = { -- name of the zone. this will also be the name of the polyzone if enabled
Show = true,
NPC = vector4(115.5239, -1989.0295, 17.4042, 255.1343),
ProductionTime = 300, -- Every 5 minutes (300 seconds), NOT SAVED BETWEEN RESTARTS -> EVERYTHING MORE THAN RESTART INTERVAL WILL NOT TAKE EFFECT
DrugItem = "weedbrick", -- Item that gets produced
MaxStock = 1000,
-- NOTE THESE ARE NOT SAVED BETWEEN RESTARTS, SO EVERYTHING MORE THAN RESTART INTERVAL WILL NOT TAKE EFFECT
ProgressDecayTime = 6, -- Time in hours before the progress decays -> 6 = every 6 hours the progress will decay by ProgressDecayAmount
ProgressDecayAmount = 1, -- Amount of progress that gets decayed every ProgressDecayTime
Vector = vector3(116.5874, -1948.5792, 20.6988), -- blip location
Width = 120.0, -- must end with a decimal value
Length = 120.0, -- ^^
Rotation = 50, -- rotation of the rectangle
Color = 0,
Alpha = 155,
Flash = false,
MS = 0, -- flashes the blip every x milliseconds
-- polyzones. must have ps-zones
PolyZone = true, -- set to true to create a polyzone for this blip.
DebugPoly = false, -- draws the poly
MinZ = 20.8037 - 10, -- make sure to set
MaxZ = 20.8037 + 10, -- ^^
Points = false, -- see the note
-- trigger an event that contains whatever codeblocks you want to run.
PlayerIn = { event = 'example:1' }, -- the event that triggers when a player enters this zone.
PlayerOut = { event = 'example:2' }, -- the event that triggers when a player leaves this zone.
},Production
Progress Decay
Blip Settings
Polyzone Settings
Custom Integrations
Last updated