Configuration

Full View
Config = {}
Config.Framework = 'esx' -- 'qb' || 'esx'
Config.CooldownTime = { -- Time to generate a new airdrop / Cooldown
-- Choose a time range. It will be random depending on the set interval.
min = 2, -- in minutes
max = 15 -- in minutes
}
Config.TimeOpenBox = 30 -- Time to open box. This time starts when the box hits the ground
Config.BoxProp = "prop_drop_crate_01_set2" -- https://gta-objects.xyz/objects
Config.ParachuteProp = "p_cargo_chute_s"
Config.Coords = {
{x = -186.9262, y = 2397.3015, z = 92.8176},
--you can add + coords
}
Config.Blip = {
Sprite = 94,
Colour = 1,
Text = "Zone AirDrop"
}
Config.AlertType = 'advanced' -- 'notif' or 'chat' or 'advanced'
Config.Translations = {
["time"] = 5,
["title"] = "~r~AIR DROP",
["msg"] = "~y~AIRDROP FALLING",
["pickup"] = '~p~[E] ~w~- Open Airdrop',
["rewards"] = 'Item(s) collected'
}
-- You can change here for your notification system
function Notify(msg)
--ESX.ShowNotification(msg)
--TriggerEvent('codem-notification:Create', msg, 'info', nil, 5000)
--exports['Roda_Notifications']:showNotify(msg, 'info', 5000)
exports['okokNotify']:Alert("Airdrop", msg, 5000, 'info')
--exports['mythic_notify']:SendAlert('inform', msg)
--QBCore.Functions.Notify(msg, 'success')
end
-- Rewards
Config.GiveListitems = { -- This is the min and max amount of different items can be handy.
min = 1,
max = 2
}
Config.ListItems = {
["item"] = { -- WARN: YOU NEED THIS ITEMS CREATED ON YOUR INVENTORY
["armor"] = { percentage = 80, quantity = 1 }, -- percentage(0-100%) | quantity(add inv count)
["weapon_smg"] = { percentage = 50, quantity = 1 }, --percentage(0-100%) | quantity(add inv count)
},
}
-- Money Reward
Config.GiveMoney = true
Config.RandomMoney = {
Min = 1000,
Max = 2500
}
Config.MinPlayersToSpawn = false -- If you want check players count
Config.MinPlayers = 10 -- How many players need for drop
--|> 𝗗𝗜𝗦𝗖𝗢𝗥𝗗 𝗕𝗢𝗧 ----------------
Config.Log = {
Webhook = "",
BotName = "Airdrop Logs",
ServerName = "Test Server RP",
IconURL = "https://cdn.discordapp.com/attachments/1111280529082417203/1111289712095801415/logo_1.png",
}
---------------------------------------------
Config.Debug = true