Page cover

πŸ“ΉCCTV locations

Easily add more CCTV locations via Config.Locations

  • The key is the location name and must be unique

  • The name in the zone table is the zone name and must be unique

  • The zone coords must be vector3

  • The zone size must be vector3


  • The key is the location name and must be unique

['My Custom CCTV Location'] = { -- the key is the location name

},

  • The name is the zone name for this location and must be unique

  • To enable this zone set enabled to true

  • To visually debug the zone location set debug to true

  • The coords must be vector3

  • The radius is the size of the target zone

  • The size must be vector3 it 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 props

  • The heading is the zone heading


  • Icon is the target icon

  • Label is the target label

  • Distance is the target distance do not set this higher than Config.Security.MaxDistance


  • Locations can be job locked if requried with a minimum rank required to use the CCTV

  • To enable a job requirement set enabled to true

  • Then define the job names and required rank in the name table ensure these are in your jobs.lua


  • The name is the camera name in the CCTV menu

  • The cooords must be a vector4 value this is for the camera view location

  • The model is the model name if you wish to spawn a physical prop at this camera location (set to nil for nothing)

  • The location must be a vector4 value this is for the CCTV camera prop location (set to nil for nothing)

  • Night is the variable for night vision at this location

  • Thermal is the variable for thermal vision at this location


  • Below is what a finished config entry should look like for a custom location

Last updated