diff --git a/resources/[tools]/thommie-nightvision/config.lua b/resources/[tools]/thommie-nightvision/config.lua index 4d07f9776..c69ddf7a9 100644 --- a/resources/[tools]/thommie-nightvision/config.lua +++ b/resources/[tools]/thommie-nightvision/config.lua @@ -2,21 +2,40 @@ Config = Config or {} Config.CoreName = 'qb-core' -- Change this if you changed the core name. Config.NVItem = 'nightvision' -- Item needed to use nightvision -Config.ThermalItem = 'thermalvision' -- Neues Item für Wärmebildsicht -Config.CheckHelmet = true -- Prüft, ob der Spieler die entsprechende Brille trägt -Config.NVKey = 'N' -- Taste für Nachtsicht -Config.ThermalKey = 'M' -- Neue Taste für Wärmebildsicht +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 --- Konfigurationsoptionen für die Brillen +-- Glasses configuration with drawables and textures Config.Glasses = { male = { - up = 116, -- ID für hochgeklappte NV-Brille (männlich) - nvDown = 117, -- ID für runtergeklappte Nachtsichtbrille (männlich) - thermalDown = 118 -- ID für runtergeklappte Wärmebildbrille (männlich) + 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) + } }, female = { - up = 70, -- ID für hochgeklappte NV-Brille (weiblich) - nvDown = 73, -- ID für runtergeklappte Nachtsichtbrille (weiblich) - thermalDown = 73 -- ID für runtergeklappte Wärmebildbrille (weiblich) + up = { + drawable = 70, -- ID für hochgeklappte Brille (weiblich) + texture = 2 -- Textur für hochgeklappte Brille (weiblich) + }, + nvDown = { + drawable = 73, -- ID für runtergeklappte Nachtsichtbrille (weiblich) + texture = 2 -- Textur für runtergeklappte Nachtsichtbrille (weiblich) + }, + thermalDown = { + drawable = 73, -- ID für runtergeklappte Wärmebildbrille (weiblich) + texture = 2 -- Textur für runtergeklappte Wärmebildbrille (weiblich) + } } } +