Config Files

File: config.lua Version: 1.0.0

Config = {}

Config.Locale = 'en' --pl/en

Config.GetJobCoords = vector3(364.4884, -2123.6099, 16.0930) --Get job coords?
Config.GetJobCoordsHeading = 299.7362 --Get job ped heading
Config.Ped = "a_m_y_salton_01" --Ped model
Config.TargetIcon = 'fa-solid fa-question' --Target icon
Config.HackTargetIcon = 'fas fa-laptop' --Hack Target icon
Config.DepositTargetIcon = 'fa-solid fa-money-bill-wave' --Deposit Target icon

Config.Jobs = {
    "police", --Police jobs
    --"sheriff"
}

Config.MinCops = 1 --Minimum number of players (with jobs specified in Config.Jobs) needed to start a tracker

Config.TrackerCars = { --Car model from level ...
    {model = "adder", level = 0},
    {model = "zentorno", level = 3},
    {model = "nero", level = 2},
    {model = "t20", level = 0}
    -- add more
}

Config.CarLocations = { --Car spawn locations
    {name = "Rockford", coords = vector4(-27.8642, -91.2804, 57.2542, 246.1610)},
    {name = "Vespucci Canals", coords = vector4(-947.1667, -1096.8320, 2.1503, 211.9539)},
    {name = "Vinewood Hills", coords = vector4(320.9197, 495.5680, 152.4749, 101.8865)}
    -- add more
}

Config.DepositPoints = { --Car deposit points
    {name = "La Mesa", coords = vector4(851.4252, -894.0446, 25.2615, 91.1245)},
    {name = "Elysian Island", coords = vector4(-166.1817, -2707.0884, 6.0083, 95.3624)},
    -- add more
}

Config.TimeForHack = 30 --IN SECOUNDS
Config.CooldownTime = 900 --COOLDOWN FOR PLAYER IN SECOUNDS
Config.ProgressBarTitle = 'Destroying GPS...' --Escape progressbar title
Config.EscapeTime = 300000 --IN MSEC 1 sec = 1000 msec (300000 = 5min)
Config.HeistItem = 'phone'
Config.BlipCar = 1200 --IN MSEC 1 sec = 1000 msec. This is the refresh blip time for the police during heist.
Config.DepositBlip = 'Tracker Deposit' --Tracker deposit blip

Config.LevelReward = 0.25 --How many levels will the player get if he completes the task
Config.RemoveLevelWhenFailed = 1 --How many levels will a player lose if they fail to complete the task

Config.MoneyReward = { --Money reward
    item = 'money', --or your money item name (for example: black_money)
    from = 1000,    --min price of reward
    to = 5000       --max price of reward
}

Config.ItemRewards = { --Items reward
    {
        item = 'weapon_pistol', --item name
        chance = 30  --chance for it
    },
    {
        item = 'water',
        chance = 20
    },
    {
        item = 'weapon_crowbar',
        chance = 15
    },
    {
        item = 'bread',
        chance = 35
    }
    --The chance for all items must be 100%: 30+20+15+35 = 100%
}

Config.WithoutItemReward = 50 --Chance of no item reward (if you don't want the item reward, change it to 100)

Config.LevelMultipliers = { --Reward multipliers
    {
        level = 10,      -- from 10 level
        money = 1.15,    -- money reward multiplier
        itemchance = 1.10-- item chance multiplier
    },
    {
        level = 20,
        money = 1.30,
        itemchance = 1.20
    },
    {
        level = 30,
        money = 1.50,
        itemchance = 1.35
    }
    -- add more
}

File: utils.lua Version: 1.0.0

Last updated