Config file
--[[
- this script needs tgiann-core script to work, you can download the script from your keymaster account or from tebex for free
⚠️ Start tgiann-core script after es_extented/qb-core script and before tgiann-* scripts! ⚠️
Adjust the tgiann-core config file according to the framework you are using
This script needs to work meta_libs (https://github.com/meta-hub/meta_libs)
]]
tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()
config.lang = "en"
config.explosionNoDamage = true -- Damage when the drone explodes
config.pickup = { -- Drone pickup configs
drawMarker = true, -- Show drawmarker
drawDistance = 50, -- Prop and marker visibility distance
pressKeyDistance = 3, -- Key press distance
key = 38 -- Key code (https://docs.fivem.net/docs/game-references/controls/)
}
config.drones = {
{
itemname = "drone", -- Item Name
modelHash = `reh_prop_reh_drone_02a`, -- Prop Hash (https://forge.plebmasters.de/objects?search=_drone)
maxDistane = 300.0, -- max distance that the drone can be away from you (if its more then this, the screen will start becoming black)
MaxSpeed = 200.0, -- Drone max speed
speed = 1.0, -- Speed coefficient
movementAgility = 10.0, -- Movement ability
nightvision = {
active = true, -- Night vission is active?
time = 5000, -- Automatic shutdown time after opening
cd = 10000, -- Time required to use again
},
infared = {
active = true, -- infared is active?
time = 5000, -- Automatic shutdown time after opening
cd = 10000, -- Time required to use again
},
job = {
active = false, -- job control is active?
names = {}, -- Job names
onDuty = true -- U can only use on duty
}
},
{
itemname = "policedrone",
modelHash = `reh_prop_reh_drone_02a`,
maxDistane = 300.0,
MaxSpeed = 250.0,
speed = 1.0,
movementAgility = 10.0,
nightvision = {
active = true,
time = 5000,
cd = 10000,
},
infared = {
active = true,
time = 5000,
cd = 10000,
},
job = {
active = true,
names = {"police"},
onDuty = true
}
}
}
config.langs = {}
Last updated