
πΉCCTV locations
Easily add more CCTV locations via Config.Locations
IMPORTANT INFRORMATION
The
keyis the location name and must be uniqueThe
namein thezonetable is the zone name and must be uniqueThe zone
coordsmust bevector3The zone
sizemust bevector3
Location Name
The
keyis the location name and must be unique
['My Custom CCTV Location'] = { -- the key is the location name
},Zone
The
nameis the zone name for this location and must be uniqueTo enable this zone set
enabledtotrueTo visually debug the zone location set
debugtotrueThe
coordsmust bevector3The
radiusis the size of the target zoneThe
sizemust bevector3it is recommended to set the zone size slightly larger than the building location as this is what will determine when players are inside to spawn the CCTV propsThe heading is the zone heading
Target
Iconis the target iconLabelis the target labelDistanceis the target distance do not set this higher thanConfig.Security.MaxDistance
Jobs
Locations can be job locked if requried with a minimum rank required to use the CCTV
To enable a job requirement set
enabledto trueThen define the job names and required rank in the
nametable ensure these are in your jobs.lua
Cameras
The
nameis the camera name in the CCTV menuThe
cooordsmust be avector4value this is for the camera view locationThe
modelis the model name if you wish to spawn a physical prop at this camera location (set to nil for nothing)The
locationmust be avector4value this is for the CCTV camera prop location (set to nil for nothing)Nightis the variable for night vision at this locationThermalis the variable for thermal vision at this location
Finished Config
Below is what a finished config entry should look like for a custom location
Last updated