Config File

Config = {}

Config.Locale = 'en' 
Config.Framework = 'ESX' -- ESX, QBCore or Qbox

Config.InitialNPC = {
    model = "a_m_m_business_01",
    coords = vector3(2661.559, 3265.344, 55.24052),
    heading = 150.0,
}

Config.Blip = {
    sprite = 303,
    display = 2,
    scale = 0.8,
    color = 47,
    shortRange = true,
    name = "Kill or Treat",
}

Config.Vehicle = {
    model = "boxville",
    spawnCoords = vector3(2665.694, 3257.706, 55.24057),
    returnCoords = vector3(2660.662, 3274.208, 55.24054),
    heading = 150.0,
}

Config.MissionNPC = {
    model = "g_m_importexport_01",
}

Config.MissionLocations = {
    vector3(819.8713, -488.0875, 30.45818), 
    vector3(872.5911, 2860.075, 56.79716),
    vector3(-71.33879, 1908.522, 196.4204),
    vector3(1264.563, 1906.027, 78.73862),
    -- ADD MORE IF YOU LIKE
}

Config.DisableReward = false  -- Change to true if you don't want that the npc give you a reward for the trick or treat
Config.RewardItem = "candy" -- The item that the script will give you when you finish the missions

Config.Rewards = { 
    TreatCost = { min = 400, max = 600 }, -- Treat Money Cost
    trickChance = 0.2,                    -- Probability of the NPC performing a trick
    candyAmount = { min = 20, max = 50 }, -- Number of candies that can be received at the end of the course
}

-- Item for Trick or Treat
Config.Items = { 'candy' } -- You can add more items

-- Quantity of money that the npc of Trick or Treat give you
Config.Reward = { min = 50, max = 100 }

-- Quantity of items that you recive in Trick or Treat
Config.Amount = 2

-- Trick or Treat peds Models
Config.Peds = { 
    'a_f_m_ktown_02', 
    'a_f_m_fatwhite_01', 
    'a_f_y_hipster_02', 
    'a_m_m_malibu_01', 
    'a_m_o_beach_01', 
    'ig_orleans', 
    'ig_sol', 
    'ig_paper', 
    'ig_sss', 
    'ig_tanisha', 
    's_f_y_shop_low', 
    's_f_y_shop_mid', 
    'u_m_y_zombie_01' 
}

-- Trick or Treat doors coords
Config.Doors = { 
        {coords = vector3(-475.1374, 585.8268, 127.7334), z = 127.7334, looted = false},
        {coords = vector3(-559.4098, 664.3816, 144.5066), z = 144.5066, looted = false},
        {coords =  vector3(-605.9417, 672.8667, 150.6477), z = 150.6477, looted = false},
        {coords =  vector3(-1112.25, -1578.4, 7.7), z = 7.7, looted = false},
        {coords = vector3(331.4054, 465.6823, 150.2642), z = 150.2642, looted = false},
        -- The script have more doors coords, but are a lot of and I don't put all.
}

Last updated