2025-06-29 23:58:18 +02:00
|
|
|
Config = Config or {}
|
|
|
|
|
|
|
|
Config.CoreName = 'qb-core' -- Change this if you changed the core name.
|
|
|
|
Config.NVItem = 'nightvision' -- Item needed to use nightvision
|
2025-06-30 00:51:05 +02:00
|
|
|
Config.ThermalItem = 'thermalvision' -- Item needed to use thermal vision
|
|
|
|
Config.CheckHelmet = true -- Check if player has the appropriate glasses
|
|
|
|
Config.NVKey = 'N' -- Key for nightvision
|
|
|
|
Config.ThermalKey = 'M' -- Key for thermal vision
|
2025-06-30 01:06:04 +02:00
|
|
|
Config.FlashlightKey = 'L' -- Key for helmet flashlight
|
2025-06-30 00:25:08 +02:00
|
|
|
|
2025-06-30 00:51:05 +02:00
|
|
|
-- Glasses configuration with drawables and textures
|
2025-06-30 00:25:08 +02:00
|
|
|
Config.Glasses = {
|
|
|
|
male = {
|
2025-06-30 00:51:05 +02:00
|
|
|
up = {
|
|
|
|
drawable = 116, -- ID für hochgeklappte Brille (männlich)
|
|
|
|
texture = 0 -- Textur für hochgeklappte Brille (männlich)
|
|
|
|
},
|
|
|
|
nvDown = {
|
|
|
|
drawable = 117, -- ID für runtergeklappte Nachtsichtbrille (männlich)
|
|
|
|
texture = 0 -- Textur für runtergeklappte Nachtsichtbrille (männlich)
|
|
|
|
},
|
|
|
|
thermalDown = {
|
|
|
|
drawable = 118, -- ID für runtergeklappte Wärmebildbrille (männlich)
|
|
|
|
texture = 1 -- Textur für runtergeklappte Wärmebildbrille (männlich)
|
|
|
|
}
|
2025-06-30 00:25:08 +02:00
|
|
|
},
|
|
|
|
female = {
|
2025-06-30 00:51:05 +02:00
|
|
|
up = {
|
|
|
|
drawable = 70, -- ID für hochgeklappte Brille (weiblich)
|
2025-06-30 00:54:00 +02:00
|
|
|
texture = 1 -- Textur für hochgeklappte Brille (weiblich)
|
2025-06-30 00:51:05 +02:00
|
|
|
},
|
|
|
|
nvDown = {
|
|
|
|
drawable = 73, -- ID für runtergeklappte Nachtsichtbrille (weiblich)
|
2025-06-30 00:54:00 +02:00
|
|
|
texture = 1 -- Textur für runtergeklappte Nachtsichtbrille (weiblich)
|
2025-06-30 00:51:05 +02:00
|
|
|
},
|
|
|
|
thermalDown = {
|
|
|
|
drawable = 73, -- ID für runtergeklappte Wärmebildbrille (weiblich)
|
2025-06-30 00:54:00 +02:00
|
|
|
texture = 1 -- Textur für runtergeklappte Wärmebildbrille (weiblich)
|
2025-06-30 00:51:05 +02:00
|
|
|
}
|
2025-06-30 00:25:08 +02:00
|
|
|
}
|
|
|
|
}
|
2025-06-30 00:51:05 +02:00
|
|
|
|
2025-06-30 01:04:56 +02:00
|
|
|
-- Flashlight configuration
|
|
|
|
Config.Flashlight = {
|
|
|
|
color = {r = 255, g = 255, b = 255}, -- Farbe des Lichts (weiß)
|
2025-06-30 01:19:32 +02:00
|
|
|
range = 50.0, -- Erhöhte Reichweite des Lichts
|
|
|
|
intensity = 15.0, -- Erhöhte Intensität des Lichts
|
2025-06-30 01:04:56 +02:00
|
|
|
offset = {x = 0.0, y = 0.3, z = 0.0} -- Position des Lichts relativ zum Kopf
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Helm-Konfiguration für die Lampe
|
|
|
|
Config.FlashlightHelmet = {
|
|
|
|
male = {
|
|
|
|
drawable = 117, -- ID des Helms mit Lampe (männlich)
|
|
|
|
texture = 0 -- Textur des Helms mit Lampe (männlich)
|
|
|
|
},
|
|
|
|
female = {
|
|
|
|
drawable = 283, -- ID des Helms mit Lampe (weiblich)
|
|
|
|
texture = 1 -- Textur des Helms mit Lampe (weiblich)
|
|
|
|
}
|
|
|
|
}
|