# CCTV (Güvenlik Kamerası)

## Bilgilendirme

Legal meslek grupları için uzaktan yönetilebilir güvenlik kamerası sistemi. **Kamera** eşyasını kullanarak istediğiniz yere kamera yerleştirebilir, **kamera tabletini** kullanarak kameralara uzaktan erişim sağlayarak izleyebilirsiniz

***

<figure><img src="/files/hijphfYdQ7G1w0d5f8fW" alt="" width="88"><figcaption></figcaption></figure>

<figure><img src="/files/6Jx2Ano6bjUX1tbg0eza" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/ChP96Tf7TFVbVFlpTScC" alt="" width="279"><figcaption></figcaption></figure>

<figure><img src="/files/l3iCoSTBdnfdxpKzUTw9" alt="" width="82"><figcaption></figcaption></figure>

<figure><img src="/files/mW854nsYGWgmkqhZ6jEY" alt="" width="263"><figcaption></figcaption></figure>

<figure><img src="/files/7S9Cxom6Nu7DIF9tzglg" alt="" width="563"><figcaption></figcaption></figure>

{% code title="camerasecurity" %}

```lua
Config = Config or {}

Config.Framework = 'QBCore'     -- ESX / QBCore

-- Resources
Config.Inventory = 'qb-inventory'       -- ox_inventory / qb-inventory   (Note: dont use qb-inventory if your framework esx please)
Config.Target = 'ox_target'     -- ox_target / qb-target
Config.Notify = 'qb'           -- qb / esx / lib / custom (require to add your custom notify in [sf_camerasecurity/client/utils.lua])
Config.ProgressBar = 'qb'      -- qb / esx / lib / custom (require to add your custom progressbar in [sf_camerasecurity/client/utils.lua])

-- Items
Config.RemoteTablet = 'camera_viewer'       -- for Citizens
Config.TabletCamViewJobs = 'camera_tablet'  -- for Jobs
Config.NeedItemFixCam = 'screwdriverset'    -- for job to fix cam
Config.CameraSignalPaper = 'camera_paper'   -- for citizens to receive signal when create new camera
Config.VpnItem = 'vpn'                      -- require this item in location wifi to watch camera

-- Settings
Config.SignalLength = 12   -- how much characters and numbers in signal 
Config.MoveCamForwardDistance = 0.2     -- this only move camera coords to forward because some times big cam props hide the vision
Config.DisableWifiSystem = false            -- if you want disable wifi system 
Config.TimerFixCamera = 10      -- sec (this only for jobs, no fix cam for normal camera)
Config.EnableWifiIcon = true    -- if you are in zone wifi, is show you a icon wifi up screen
Config.AutoRepairCameras = true -- to repair all broken camera after server restart

-- Player camera
Config.SignalItem = {
    NameItem = 'camera_citizen',
    Prop = 'prop_cctv_cam_01a'
}

-- Personal camera
Config.PersonalCamera = {
    NameItem = 'camera_personal',
    TabletItem = 'camera_personaltablet',
    Props = {
        [1] = 'prop_cctv_cam_06a',
        [2] = 'prop_cctv_cam_04a',
        [3] = 'prop_cctv_cam_05a',
        [4] = 'prop_cctv_cam_02a',
        [5] = 'prop_cctv_cam_01a',
        [6] = 'prop_cctv_cam_07a',
        [7] = 'prop_cctv_cam_01b',
        [8] = 'prop_cctv_cam_04b',
        [9] = 'prop_cctv_cam_03a',
        [10] = 'prop_cctv_cam_04c',
        [11] = 'prop_cs_cctv',
        [12] = 'hei_prop_bank_cctv_01',
        [13] = 'hei_prop_bank_cctv_02',
        [14] = 'p_cctv_s',
        [15] = 'prop_snow_cam_03a',
        [16] = 'prop_spycam'
    }
}

-- shop information
Config.Shop = {   
    Enable = false,                                        -- to active shop
    EnableCategory = false,                                -- if you want show titles category in shop
    Label = 'Camera Shop',                                -- name shop
    Icon = 'fa-solid fa-camera',                          -- icon target eye
    Ped = 's_m_y_grip_01',                                -- ped shop
    Scenario = 'WORLD_HUMAN_CLIPBOARD',                   -- scenario ped
    Coords = vector4(152.98, -1363.35, 29.33, 230.07),    -- location ped
    Distance = 2.5,                                       -- distance to require to use ped shop
    Blip = {Enable = false, Sprite = 184, Scale = 0.6, Color = 32},       -- blip setting

    -- item shop and prices 
    Store = {   
        {
            Title = 'Public Items',
            Items = {
                {item = 'camera_viewer',            price = 1500},
                {item = 'vpn',                      price = 1000},
                {item = 'camera_citizen',           price = 500},
            }
        },    
        {
            Title = 'Job Items',
            Items = {
                {item = 'camera_pd',                price = 250,    job = {'police'}},
                {item = 'camera_ems',               price = 250,    job = {'ambulance'}},
                {item = 'camera_tablet',            price = 1000,   job = {'police', 'ambulance'}},
                {item = 'screwdriverset',           price = 250,    job = {'police', 'ambulance'}},
            }
        },   
        {
            Title = 'Personal Items',
            Items = {
                {item = 'camera_personal',          price = 500},  
                {item = 'camera_personaltablet',    price = 2000},  
            } 
        }
       
    }
}

-- props camera list only for jobs
Config.PropListJob = {     
    [1] = 'prop_cctv_cam_06a',
    [2] = 'prop_cctv_cam_04a',
    [3] = 'prop_cctv_cam_05a',
    [4] = 'prop_cctv_cam_02a',
    [5] = 'prop_cctv_cam_01a',
    [6] = 'prop_cctv_cam_07a',
    [7] = 'prop_cctv_cam_01b',
    [8] = 'prop_cctv_cam_04b',
    [9] = 'prop_cctv_cam_03a',
    [10] = 'prop_cctv_cam_04c',
    [11] = 'prop_cs_cctv',
    [12] = 'hei_prop_bank_cctv_01',
    [13] = 'hei_prop_bank_cctv_02',
    [14] = 'p_cctv_s',
    [15] = 'prop_snow_cam_03a',
    [16] = 'prop_spycam'
}

Config.DistanceCreateCam = {
    Jobs = 70.0,        -- max distance to put camera for job 
    SignalCam = 20.0,   -- max distance to put camera for normal players 
    PersonalCam = 40.0  -- max distance to put personal camera
}

-- wifi zones
Config.WifiZones = { 
    {
        Coords = vector3(29.66, -1345.06, 29.5),
        Distance = 10,
    }
}

-- sens to move camera (left, right..) when you watching
Config.Sens = {
    Right = 1,
    Left = 1,
    Up = 1,
    Down = 1
}

-- item and job can use this item
Config.JobItems = {
    {ItemName = 'camera_pd', Type = 'Job', Job = {'police', 'sheriff'}},
    {ItemName = 'camera_ems', Type = 'Job', Job = 'ambulance'},
}

-- this for jobs if he not have tablet like (cctv) to open camera
Config.JobConnectLocations = {
    ['police'] = {
        Coords = vector3(443.0, -986.36, 30.72),
        Distance = 1
    },
    ['sheriff'] = {
        Coords = vector3(-447.4, 6015.03, 32.29),
        Distance = 1
    }	
}

```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blackzone.live/bb-v2-paket/dokumantasyon/sistemler/cctv-guvenlik-kamerasi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
