41 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
| 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' -- 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
 | |
| 
 | |
| -- Glasses configuration with drawables and textures
 | |
| Config.Glasses = {
 | |
|     male = {
 | |
|         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 = {
 | |
|             drawable = 70,  -- ID für hochgeklappte Brille (weiblich)
 | |
|             texture = 1     -- Textur für hochgeklappte Brille (weiblich)
 | |
|         },
 | |
|         nvDown = {
 | |
|             drawable = 73,  -- ID für runtergeklappte Nachtsichtbrille (weiblich)
 | |
|             texture = 1      -- Textur für runtergeklappte Nachtsichtbrille (weiblich)
 | |
|         },
 | |
|         thermalDown = {
 | |
|             drawable = 73,  -- ID für runtergeklappte Wärmebildbrille (weiblich)
 | |
|             texture = 1      -- Textur für runtergeklappte Wärmebildbrille (weiblich)
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | 
