# Tren Soygunu

## Gerekli Materyaller

Tren soygunu yapmak için, üzerinizde [cam kesici, çanta](#config) ve silah olması gerekmektedir. Bu eşyaların bir kısmını [blackmarketten](https://docs.blackzone.live/bb-v2-paket/dokumantasyon/sistemler/blackmarket) bir kısmını marketten almanız gerekmektedir.

## Soygun Genel Bilgi

* Tren soygununu yapmak için şehirde [aktif 10 polis](#config) bulunması gerekmektedir.
* Bu soygun yönetim izni ile yapılabilir, izinsiz yapılan soygunlar iptal edilecektir.
* Tren soygunu yapmak için [itibar seviyenizin](https://docs.blackzone.live/bb-v2-paket/dokumantasyon/sistemler/illegal-sayginlik) 25 olması gerekmektedir.
* Soygununuz başarılı olursa, değerli materyaller kazanacaksınız.
* Tren soygununu başlatma yeri aşağıda belirtilmiştir. Soygunu başlattıktan sonra haritada işaretlenecek olan bölgeye gidip pusuyu gerçekleştirin. Herkesi öldürdükten sonra konteynerleri kesin ve içerisindeki eşyaları alın.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXerDazKmbYCX0LUsLNZKx-SWN1Q9KDeWzu1oZVaWn4UCFyowoWb7M_ntKx2pBibSO_KBUcx-nVf4C2t7lWyjPihZJbcr-0saUHzIbVroDsyA1d8LjXvjUs3THg1eppJ9uHzirRZtDMQouyaccM7JPiPyvS5?key=T_M7s1MqgZlhFGMW3e3nMw" alt=""><figcaption><p><em><mark style="color:red;"><strong>Tren Soygunu Başlatma Lokasyonu</strong></mark></em></p></figcaption></figure>

## Config

<pre class="language-lua" data-title="qq_trainheist"><code class="lang-lua">Config = {}

Config['TrainHeist'] = {
    ['requiredPoliceCount'] = <a data-footnote-ref href="#user-content-fn-1">10</a>, -- required police count for start heist
    ['nextRob'] = <a data-footnote-ref href="#user-content-fn-2">3600</a>, -- seconds for next heist
    <a data-footnote-ref href="#user-content-fn-3">['requiredItems']</a> = { -- add to database or shared
        'cutter',
        'bag'
    },
    ['reward'] = {
        itemName = 'goldbar', -- gold item name
        grabCount = 10, -- gold grab count
    },
    ['startHeist'] ={ -- heist start coords
        pos = vector3(-687.82, -2417.1, 13.9445),
        peds = {
            {pos = vector3(-686.43, -2417.5, 13.8945), heading = 23.22, ped = 's_m_m_highsec_01'},
            {pos = vector3(-687.82, -2417.1, 13.8945), heading = 320.78, ped = 's_m_m_highsec_02'},
            {pos = vector3(-688.89, -2416.3, 13.8945), heading = 291.42, ped = 's_m_m_fiboffice_02'}
        }
    },
    ['guardPeds'] = { -- guard ped list (you can add new)
        { coords = vector3(2850.67, 4535.49, 45.3924), heading = 270.87, model = 's_m_y_blackops_01'},
        { coords = vector3(2856.28, 4544.12, 45.3354), heading = 177.93, model = 's_m_y_blackops_01'},
        { coords = vector3(2869.90, 4530.26, 47.7877), heading = 354.93, model = 's_m_y_blackops_01'},
        { coords = vector3(2859.08, 4519.85, 47.9145), heading = 177.88, model = 's_m_y_blackops_01'},
        { coords = vector3(2843.78, 4521.66, 47.4138), heading = 268.28, model = 's_m_y_blackops_01'},
        { coords = vector3(2856.90, 4526.85, 48.6552), heading = 268.3, model = 's_m_y_blackops_01'},
        { coords = vector3(2878.67, 4556.77, 48.4119), heading = 359.44, model = 's_m_y_blackops_01'},
        { coords = vector3(2886.69, 4556.21, 48.4262), heading = 265.05, model = 's_m_y_blackops_01'},
    },
    ['finishHeist'] = { -- finish heist coords
        buyerPos = vector3(-1690.6, -916.19, 6.78323)
    },
    ['setupTrain'] = { -- train and containers coords
        pos = vector3(2872.028, 4544.253, 47.758),
        part = vector3(2883.305, 4557.646, 47.758),
        heading = 140.0,
        ['containers'] = {
            {
                pos = vector3(2885.97, 4560.83, 48.0551), 
                heading = 320.0, 
                lock = {pos = vector3(2884.76, 4559.38, 49.22561), taken = false},
                table = vector3(2886.55, 4561.53, 48.23),
                golds = {
                    {pos = vector3(2886.05, 4561.93, 49.14), taken = false},
                    {pos = vector3(2887.05, 4561.13, 49.14), taken = false},
                } 
            },
            {
                pos = vector3(2880.97, 4554.83, 48.0551), 
                heading = 140.0, 
                lock = {pos = vector3(2882.15, 4556.26, 49.22561), taken = false},
                table = vector3(2880.45, 4554.23, 48.23),
                golds = {
                    {pos = vector3(2881.05, 4553.93, 49.14), taken = false},
                    {pos = vector3(2880.25, 4554.63, 49.14), taken = false},
                } 
            }
        }
    }
}

Strings = {
    ['start_heist'] = '~INPUT_CONTEXT~ Tren Soygununu Başlat',
    ['cutting'] = 'Kesmek için ~INPUT_CONTEXT~ bas',
    ['grab'] = 'Almak için ~INPUT_CONTEXT~ bas',
    ['goto_ambush'] = 'GPSteki pusu noktasına git. Korumaları öldür, Merryweather konteynerlerini ara ve altınları çal',
    ['wait_nextrob'] = 'Tekrar soymak için şu kadar beklemelisin',
    ['minute'] = 'dakika.',
    ['ambush_blip'] = 'Pusu Noktası',
    ['need_this'] = 'Şuna ihtiyaç duyuyorsun: ',
    ['need_police'] = 'Şehirde yeterli miktarda polis yok',
}

--Dont change. Main and required things.
TrainAnimation = {
    ['objects'] = {
        'tr_prop_tr_grinder_01a',
        'ch_p_m_bag_var02_arm_s'
    },
    ['animations'] = {
        {'action', 'action_container', 'action_lock', 'action_angle_grinder', 'action_bag'}
    },
    ['scenes'] = {},
    ['sceneObjects'] = {}
}

GrabGold = {
    ['objects'] = {
        'hei_p_m_bag_var22_arm_s'
    },
    ['animations'] = {
        {'enter', 'enter_bag'},
        {'grab', 'grab_bag', 'grab_gold'},
        {'grab_idle', 'grab_idle_bag'},
        {'exit', 'exit_bag'},
    },
    ['scenes'] = {},
    ['scenesObjects'] = {}
}
</code></pre>

[^1]: Aktif kaç polis olduğunda soygun başlayabilsin

[^2]: Tekrar soygun yapabilmek için kaç saniye geçmesi gerekiyor buradan değiştirebilirsiniz

[^3]: Soygunda kullanılacak eşyaları buradan ekleyebilirsin


---

# 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/soygunlar/tren-soygunu.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.
