Config
Config = {}
-- ░██████╗███████╗████████╗████████╗██╗███╗░░██╗░██████╗░░██████╗
-- ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗░██║██╔════╝░██╔════╝
-- ╚█████╗░█████╗░░░░░██║░░░░░░██║░░░██║██╔██╗██║██║░░██╗░╚█████╗░
-- ░╚═══██╗██╔══╝░░░░░██║░░░░░░██║░░░██║██║╚████║██║░░╚██╗░╚═══██╗
-- ██████╔╝███████╗░░░██║░░░░░░██║░░░██║██║░╚███║╚██████╔╝██████╔╝
-- ╚═════╝░╚══════╝░░░╚═╝░░░░░░╚═╝░░░╚═╝╚═╝░░╚══╝░╚═════╝░╚═════╝░
Config.Core = "qb-core" -- Your qb-core folder name
Config.Target = "ox" -- "qb" or "ox"
Config.Inventory = "ox" -- "qb", "ox"
Config.Notify = "ox" -- "qb" or "okok" or "ox" ( open code on config_functions.lua )
Config.Debug = false -- Enable some prints ( Debug mode )
Config.Weather = {
enable = true, -- Enable or disable weather sync
weather = "HALLOWEEN", -- Weather name
script = "qb-weathersync", -- Weather script
}
Config.Command = {
startCommand = "halloweenstart", -- Command to start the event
startDescription = "Start Halloween Event", -- Description of the command
stopCommand = "halloweenstop", -- Command to stop the event
stopDescription = "Stop Halloween Event", -- Description of the command
group = "admin" -- Group to use the command
}
Config.Minigame = {
enable = false, -- Enable or disable minigame for skinning animals
minigame = "ox_lib",
}
Config.PedLoction = {
pedLocation = vector4(1148.88, -729.31, 57.57, 54.4), -- Ped location
pedModel = "u_m_y_zombie_01", -- Ped model
}
-- ██████╗░██╗░░░██╗███╗░░░███╗██████╗░██╗░░██╗██╗███╗░░██╗░██████╗
-- ██╔══██╗██║░░░██║████╗░████║██╔══██╗██║░██╔╝██║████╗░██║██╔════╝
-- ██████╔╝██║░░░██║██╔████╔██║██████╔╝█████═╝░██║██╔██╗██║╚█████╗░
-- ██╔═══╝░██║░░░██║██║╚██╔╝██║██╔═══╝░██╔═██╗░██║██║╚████║░╚═══██╗
-- ██║░░░░░╚██████╔╝██║░╚═╝░██║██║░░░░░██║░╚██╗██║██║░╚███║██████╔╝
-- ╚═╝░░░░░░╚═════╝░╚═╝░░░░░╚═╝╚═╝░░░░░╚═╝░░╚═╝╚═╝╚═╝░░╚══╝╚═════╝░
-- Pumpkins Settings
Config.BlipPumpkins = { -- https://docs.fivem.net/docs/game-references/blips/
enable = true,
sprite = 389,
color = 47,
scale = 0.8,
label = "Pumpkin",
}
Config.PumpkinConsumable = {
enable = true, -- Enable or disable pumpkin consumable
transformPed = "u_m_y_zombie_01", -- Ped model
time = 5, -- Time in seconds
}
-- true: Player will trade pumpkins for 1 random item from the rewards list
-- false: Player will trade pumpkins for all items from the rewards list
Config.Random = false
Config.TradePumpkins = {
[1] = {
item = "pumpkin",
amount = 10,
rewards = {
[1] = { item = "water_bottle", amount = 1 },
[2] = { item = "bread", amount = 1 },
}
},
[2] = {
item = "pumpkin",
amount = 20,
rewards = {
[1] = { item = "water_bottle", amount = 2 },
[2] = { item = "bread", amount = 2 },
}
}
}
-- Pumpkins Locations
Config.Pumpkins = {
-- Sandy Shores
[1] = { coords = vector3(1343.52, 4307.95, 36.97), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[2] = { coords = vector3(1274.87, 4392.75, 45.18), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[3] = { coords = vector3(1186.33, 4404.85, 59.40), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[4] = { coords = vector3(1121.31, 4459.51, 62.63), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[5] = { coords = vector3(998.76, 4519.80, 82.78), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[6] = { coords = vector3(843.89, 4509.38, 52.78), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[7] = { coords = vector3(757.88, 4401.21, 102.76), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[8] = { coords = vector3(828.57, 4222.88, 51.03), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[9] = { coords = vector3(762.94, 4180.00, 39.59), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[10] = { coords = vector3(702.66, 4174.14, 39.96), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[11] = { coords = vector3(574.10, 4175.24, 37.23), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[12] = { coords = vector3(530.72, 4225.45, 53.89), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[13] = { coords = vector3(382.39, 4369.43, 62.16), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[14] = { coords = vector3(275.05, 4321.76, 44.96), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[15] = { coords = vector3(268.76, 4404.82, 46.18), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[16] = { coords = vector3(176.85, 4403.42, 74.95), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[17] = { coords = vector3(102.29, 4417.92, 70.35), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[18] = { coords = vector3(-60.08, 4407.37, 55.60), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[19] = { coords = vector3(-88.85, 4430.73, 73.45), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[20] = { coords = vector3(-370.26, 4356.50, 54.24), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[21] = { coords = vector3(-433.81, 4342.57, 59.27), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[22] = { coords = vector3(-505.03, 4349.92, 66.19), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[23] = { coords = vector3(-681.89, 4392.19, 25.29), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[24] = { coords = vector3(-837.01, 4414.09, 19.10), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[25] = { coords = vector3(-885.11, 4431.31, 19.93), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[26] = { coords = vector3(-978.17, 4411.26, 18.87), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[27] = { coords = vector3(-1139.02, 4416.25, 10.46), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[28] = { coords = vector3(-1197.16, 4436.93, 29.85), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[29] = { coords = vector3(-1346.48, 4417.34, 28.76), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
-- Paleto Bay
[30] = { coords = vector3(-391.01, 6072.50, 30.50), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[31] = { coords = vector3(-425.23, 6167.06, 30.48), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[32] = { coords = vector3(-389.12, 6195.73, 30.49), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[33] = { coords = vector3(-338.53, 6115.24, 30.45), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[34] = { coords = vector3(-432.69, 6242.61, 29.89), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[35] = { coords = vector3(-417.20, 6309.51, 27.58), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[36] = { coords = vector3(-365.89, 6324.83, 28.86), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[37] = { coords = vector3(-311.13, 6375.53, 29.55), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[38] = { coords = vector3(-256.79, 6433.23, 29.17), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[39] = { coords = vector3(-201.42, 6541.70, 10.10), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[40] = { coords = vector3(-69.92, 6553.71, 30.49), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[41] = { coords = vector3(-34.71, 6637.11, 29.33), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[42] = { coords = vector3(-84.50, 6680.96, 34.07), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[43] = { coords = vector3(198.12, 6628.44, 30.55), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
-- Los Santos
[44] = { coords = vector3(-292.04, -764.27, 52.25), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[45] = { coords = vector3(-130.15, -838.90, 43.22), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[46] = { coords = vector3(-55.86, -898.79, 40.55), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[47] = { coords = vector3(183.16, -1087.76, 28.28), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[48] = { coords = vector3(256.45, -1156.20, 28.26), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[49] = { coords = vector3(305.60, -1243.79, 28.49), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[50] = { coords = vector3(419.51, -1332.68, 45.05), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[51] = { coords = vector3(463.16, -1322.53, 28.44), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[52] = { coords = vector3(730.90, -1318.04, 25.32), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
[53] = { coords = vector3(949.91, -1407.12, 30.46), item = "pumpkin", prop = "prop_veg_crop_03_pump" },
}
-- ███████╗░█████╗░███╗░░░███╗██████╗░██╗███████╗░██████╗
-- ╚════██║██╔══██╗████╗░████║██╔══██╗██║██╔════╝██╔════╝
-- ░░███╔═╝██║░░██║██╔████╔██║██████╦╝██║█████╗░░╚█████╗░
-- ██╔══╝░░██║░░██║██║╚██╔╝██║██╔══██╗██║██╔══╝░░░╚═══██╗
-- ███████╗╚█████╔╝██║░╚═╝░██║██████╦╝██║███████╗██████╔╝
-- ╚══════╝░╚════╝░╚═╝░░░░░╚═╝╚═════╝░╚═╝╚══════╝╚═════╝░
Config.RewardsAmount = 2 -- 2 Rewards for each zombie killed
Config.ZombieRewards = {
[1] = { item = "water_bottle", min = 1, max = 5, chance = 100 },
[2] = { item = "bread", min = 1, max = 5, chance = 100 },
[3] = { item = "pumpkin", min = 1, max = 5, chance = 100 },
[4] = { item = "weapon_pistol", min = 1, max = 1, chance = 10 },
[5] = { item = "weapon_knife", min = 1, max = 1, chance = 20 },
}
Config.ZombieZones = {
[1] = {
name = "huntingZone1",
blipSettings = { enable = true, sprite = 310, color = 1, scale = 0.8, label = "Zombie Zone" }, -- https://docs.fivem.net/docs/game-references/blips/
zombiePositions = vector3(2616.21, 4454.51, 39.12), -- Zombie position
range = 30.0, -- Range to spawn zombies
pedModel = "u_m_y_zombie_01", -- Ped model
maxZombies = 15, -- Max zombies in the zone
zombiesAttack = true, -- Zombies attack players
},
[2] = {
name = "huntingZone2",
blipSettings = { enable = true, sprite = 310, color = 1, scale = 0.8, label = "Zombie Zone" }, -- https://docs.fivem.net/docs/game-references/blips/
zombiePositions = vector3(-1232.45, 76.65, 53.79), -- Zombie position
range = 40.0, -- Range to spawn zombies
pedModel = "u_m_y_zombie_01", -- Ped model
maxZombies = 20, -- Max zombies in the zone
zombiesAttack = true, -- Zombies attack players
},
[3] = {
name = "huntingZone3",
blipSettings = { enable = true, sprite = 310, color = 1, scale = 0.8, label = "Zombie Zone" }, -- https://docs.fivem.net/docs/game-references/blips/
zombiePositions = vector3(-224.03, 7675.99, 6.33), -- Zombie position
range = 40.0, -- Range to spawn zombies
pedModel = "u_m_y_zombie_01", -- Ped model
maxZombies = 20, -- Max zombies in the zone
zombiesAttack = true, -- Zombies attack players
}
-- You can create more zones
}
-- ██████╗░░█████╗░░█████╗░██████╗░░██████╗
-- ██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝
-- ██║░░██║██║░░██║██║░░██║██████╔╝╚█████╗░
-- ██║░░██║██║░░██║██║░░██║██╔══██╗░╚═══██╗
-- ██████╔╝╚█████╔╝╚█████╔╝██║░░██║██████╔╝
-- ╚═════╝░░╚════╝░░╚════╝░╚═╝░░╚═╝╚═════╝░
Config.DoorsBlips = {
enable = true,
sprite = 79,
color = 1,
scale = 0.8,
label = "Trick or Treat",
}
Config.DoorsRewards = { -- Rewards when you knock the door
[1] = { item = "water_bottle", min = 1, max = 5, chance = 100 },
[2] = { item = "bread", min = 1, max = 5, chance = 100 },
[3] = { item = "pumpkin", min = 1, max = 5, chance = 100 },
[4] = { item = "weapon_pistol", min = 1, max = 1, chance = 10 },
[5] = { item = "weapon_knife", min = 1, max = 1, chance = 20 },
}
Config.PedsHouse = { -- Peds spawning when you knock the door
'a_f_y_business_02',
'a_m_m_genfat_01',
'a_m_m_farmer_01',
'a_m_m_eastsa_02',
'a_m_m_soucent_02',
'a_m_y_business_01',
'a_m_y_indian_01',
'a_m_y_salton_01',
'u_m_y_zombie_01', -- If the ped is that zombie, then the player dont get reward, and need to run!
}
Config.Doors = {
[1] = {coords = vector3(-1107.262, 593.9845, 103.504), z = 103.504, looted = false},
[2] = {coords = vector3(-1125.425, 548.6654, 101.6192), z = 101.6192, looted = false},
[3] = {coords = vector3(-1146.434, 545.8893, 100.9537), z = 100.9537, looted = false},
[4] = {coords = vector3(-1193.073, 563.7615, 99.38944), z = 99.38944, looted = false},
[5] = {coords = vector3(-970.9653, 456.0507, 78.85919), z = 78.85919, looted = false},
[6] = {coords = vector3(-967.3018, 510.33, 81.11642), z = 81.11642, looted = false},
[7] = {coords = vector3(-987.416, 487.6514, 81.31525), z = 81.31525, looted = false},
[8] = {coords = vector3(-1052.021, 432.3936, 76.12247), z = 76.12247, looted = false},
[9] = {coords = vector3(-1094.184, 427.4131, 74.93001), z = 74.93001, looted = false},
[10] = {coords = vector3(-1122.763, 485.6832, 81.21085), z = 81.21085, looted = false},
[11] = {coords = vector3(-1174.953, 440.3156, 85.89944), z = 85.89944, looted = false},
[12] = {coords = vector3(-1215.703, 458.4677, 90.90369), z = 90.90369, looted = false},
[13] = {coords = vector3(-1294.423, 454.8558, 96.52876), z = 96.52876, looted = false},
[14] = {coords = vector3(-1308.194, 449.2641, 100.0198), z = 100.0198, looted = false},
[15] = {coords = vector3(-1413.602, 462.2877, 108.2586), z = 108.2586, looted = false},
[16] = {coords = vector3(-1404.859, 561.2165, 124.4563), z = 124.4563, looted = false},
[17] = {coords = vector3(-1346.742, 560.8566, 129.5815), z = 129.5815, looted = false},
[18] = {coords = vector3(-1366.825, 611.1692, 132.9559), z = 132.9559, looted = false},
[19] = {coords = vector3(-1112.25, -1578.4, 7.7), z = 7.7, looted = false},
[20] = {coords = vector3(-1114.34, -1579.47, 7.7), z = 7.7, looted = false},
[21] = {coords = vector3(-1114.95, -1577.57, 3.56), z = 3.56, looted = false},
[22] = {coords = vector3(373.9276, 427.8789, 144.7342), z = 144.7342, looted = false},
[23] = {coords = vector3(346.4424, 440.626, 146.783), z = 146.783, looted = false},
[24] = {coords = vector3(331.4054, 465.6823, 150.2642), z = 150.2642, looted = false},
[25] = {coords = vector3(316.0714, 501.4787, 152.2298), z = 152.2298, looted = false},
[26] = {coords = vector3(325.3428, 537.4042, 152.9206), z = 152.9206, looted = false},
[27] = {coords = vector3(119.2289, 494.3233, 146.3929), z = 146.3929, looted = false},
[28] = {coords = vector3(80.12486, 485.8678, 147.2517), z = 147.2517, looted = false},
[29] = {coords = vector3(57.87461, 450.0858, 146.0815), z = 146.0815, looted = false},
[30] = {coords = vector3(42.98039, 468.6544, 147.1459), z = 147.1459, looted = false},
[31] = {coords = vector3(-7.608167, 468.3959, 144.9208), z = 144.9208, looted = false},
[32] = {coords = vector3(-66.48237, 490.8036, 143.7423), z = 143.7423, looted = false},
[33] = {coords = vector3(-109.8572, 502.6192, 142.3531), z = 142.3531, looted = false},
[34] = {coords = vector3(-174.7194, 502.598, 136.4706), z = 136.4706, looted = false},
[35] = {coords = vector3(8.656919, 539.8256, 175.0774), z = 175.0774, looted = false},
[36] = {coords = vector3(84.8648, 561.972, 181.8175), z = 181.8175, looted = false},
[37] = {coords = vector3(119.0849, 564.5529, 183.0037), z = 183.0037, looted = false},
[38] = {coords = vector3(215.6454, 620.1937, 186.6673), z = 186.6673, looted = false},
[39] = {coords = vector3(231.9564, 672.4473, 188.9955), z = 188.9955, looted = false},
[40] = {coords = vector3(-230.5478, 488.4593, 127.8175), z = 127.8175, looted = false},
[41] = {coords = vector3(-311.922, 474.8206, 110.8724), z = 110.8724, looted = false},
[42] = {coords = vector3(-166.7201, 424.663, 110.8558), z = 110.8558, looted = false},
[43] = {coords = vector3(-297.8921, 380.3153, 111.1453), z = 111.1453, looted = false},
[44] = {coords = vector3(-328.2933, 369.9056, 109.056), z = 109.056, looted = false},
[45] = {coords = vector3(-371.7889, 344.115, 108.9927), z = 108.9927, looted = false},
[46] = {coords = vector3(-409.4172, 341.6884, 107.9574), z = 107.9574, looted = false},
[47] = {coords = vector3(-349.2375, 514.6479, 119.6967), z = 119.6967, looted = false},
[48] = {coords = vector3(-386.6804, 504.5744, 119.4615), z = 119.4615, looted = false},
[49] = {coords = vector3(-406.4875, 567.5134, 123.6529), z = 123.6529, looted = false},
[50] = {coords = vector3(-459.1129, 537.521, 120.5068), z = 120.5068, looted = false},
[51] = {coords = vector3(-500.5503, 552.2289, 119.6605), z = 119.6605, looted = false},
[52] = {coords = vector3(-520.2657, 594.2166, 119.8867), z = 119.8867, looted = false},
[53] = {coords = vector3(-475.1374, 585.8268, 127.7334), z = 127.7334, looted = false},
[54] = {coords = vector3(-559.4098, 664.3816, 144.5066), z = 144.5066, looted = false},
[55] = {coords = vector3(-605.9417, 672.8667, 150.6477), z = 150.6477, looted = false},
[56] = {coords = vector3(-579.7289, 733.1073, 183.2603), z = 183.2603, looted = false},
[57] = {coords = vector3(-232.6113, 588.7607, 189.5862), z = 189.5862, looted = false},
[58] = {coords = vector3(-189.1341, 617.611, 198.7125), z = 198.7125, looted = false},
[59] = {coords = vector3(-185.3076, 591.8223, 196.871), z = 196.871, looted = false},
[60] = {coords = vector3(-126.8265, 588.7379, 203.5668), z = 203.5668, looted = false},
[61] = {coords = vector3(-527.0712, 517.5832, 111.9912), z = 111.9912, looted = false},
[62] = {coords = vector3(-580.6823, 492.388, 107.9512), z = 107.9512, looted = false},
[63] = {coords = vector3(-640.7534, 519.7142, 108.7378), z = 108.7378, looted = false},
[64] = {coords = vector3(-667.3151, 471.9706, 113.1885), z = 113.1885, looted = false},
[65] = {coords = vector3(-678.8621, 511.7292, 112.576), z = 112.576, looted = false},
[66] = {coords = vector3(-718.1337, 449.26, 105.9591), z = 105.9591, looted = false},
[67] = {coords = vector3(-762.3024, 431.528, 99.22505), z = 99.22505, looted = false},
[68] = {coords = vector3(-784.195, 459.1265, 99.22904), z = 99.22904, looted = false},
[69] = {coords = vector3(-824.7245, 422.0788, 91.17419), z = 91.17419, looted = false},
[70] = {coords = vector3(-843.2042, 466.747, 86.64773), z = 86.64773, looted = false},
[71] = {coords = vector3(-848.9617, 508.8513, 89.86675), z = 89.86675, looted = false},
[72] = {coords = vector3(-883.8552, 518.0173, 91.49284), z = 91.49284, looted = false},
[73] = {coords = vector3(-905.2466, 587.4352, 100.0409), z = 100.0409, looted = false},
[74] = {coords = vector3(-924.6613, 561.777, 98.99629), z = 98.99629, looted = false}
}
Last updated