Config / Locales

Config = {}

-- NPC configuration: position, heading, and model
Config.NPC = {
    coords = vector3(4357.3257, 4782.3647, 7.21),  -- adjust as needed
    heading = 314.0,
    model = "s_m_m_trucker_01",  -- example NPC model
}

-- Global cooldown – the time during which no other heist can be started (e.g., 10 minutes)
Config.GlobalCooldownTime = 600000  -- 600,000 ms = 10 minutes

-- Personal cooldown – the time during which a given player cannot start the heist again (e.g., 5 minutes)
Config.PersonalCooldownTime = 300000  -- 300,000 ms = 5 minutes

-- Box model that will be used for the heist
Config.PropModel = "prop_tool_box_05"

-- List of possible locations where the boxes can spawn
Config.HeistLocations = {
    vector3(4402.9907, 4835.4888, 10.5061),
    vector3(4412.6582, 4774.3032, 9.5511),
    vector3(4498.9873, 4863.7202, 12.2838),
    vector3(4538.9434, 4914.1899, 10.4390),
    vector3(4508.1094, 5108.5898, 8.5181),
    vector3(4503.8174, 5123.7114, 4.6860),
    vector3(4569.1724, 4975.4019, 9.8812),
    vector3(4663.5156, 4983.1230, 14.3785),
    vector3(4728.8750, 4984.1289, 8.7312),
    vector3(4815.3164, 5062.2622, 4.4692),
    vector3(4706.4858, 4945.2935, 12.5063),
    vector3(4634.7217, 4872.7148, 1.3905),
    vector3(4590.1201, 4854.2563, 21.6266),
    vector3(4588.1113, 4851.6196, 23.1393),
    vector3(4609.8442, 4830.1470, 8.5532),
    vector3(4628.1118, 4714.2432, 13.7226),
    vector3(4698.5781, 4710.4673, 11.5448),
    vector3(4700.5078, 4701.6094, 15.5666),
    vector3(4710.1445, 4679.7246, 13.5239),
    vector3(4712.0728, 4679.2930, 17.7763),
    vector3(4751.0576, 4622.1182, 11.5392),
    vector3(4751.8828, 4612.5698, 11.7349),
    vector3(4755.9614, 4620.8359, 11.7367),
    vector3(4709.2090, 4582.4131, 12.5510),
    vector3(4703.2104, 4586.5728, 12.5510),
    vector3(4655.1812, 4651.4136, 15.7389),
    vector3(4554.8125, 4731.9023, 5.2493),
    vector3(4520.5127, 4650.9775, 8.0649),
    vector3(4500.7573, 4646.5557, 6.3890),
    vector3(4642.5688, 4914.1138, 13.0965),
}

-- Definition of rewards that the boxes can provide –
-- For each box, one item is randomly chosen,
-- and the quantity is determined randomly between minCount and maxCount.
Config.BoxRewards = {
    { item = "weapon_specialcarbine_blueprint", minCount = 1, maxCount = 3 },
    { item = "weapon_carbinerifle_blueprint",       minCount = 1, maxCount = 3 },
    { item = "weapon_assaultrifle_blueprint",         minCount = 1, maxCount = 3 },
    { item = "weapon_smg_blueprint",                  minCount = 1, maxCount = 3 },
    { item = "weapon_pistol_mk2_blueprint",           minCount = 1, maxCount = 3 },
    { item = "weapon_pumpshotgun_blueprint",          minCount = 1, maxCount = 2 },
    { item = "weapon_pistolxm3_blueprint",            minCount = 1, maxCount = 3 },
    { item = "weapon_pistol50_blueprint",             minCount = 1, maxCount = 3 },
    { item = "weapon_heavypistol_blueprint",          minCount = 1, maxCount = 3 },
}
    
-- add additional rewards as desired

Locales

Locales = {
    heistRunning = "Už tu někdo hledá!",
    globalCooldown = "Teďka to znovu ztrácím. Zkus přijít za %s sekund.",
    personalCooldown = "Už jsi hledal, Počkej %s sekund.",
    npcWeapon = "Se zbraní tu buď opatrný! Dokáže tu být celkem teplo!!",
    npcNoWeapon = "Ještě že máš tu zbraň doma!",
    heistStarted = "Začal jsi hledat. Celkem musíš najít 11 boxu",
    boxOpened = "Otevřel jsi box a získal jsi %sx %s!",
    heistEnded = "Teďka to musím ztratit znovu"

}

Last updated