261 lines
		
	
	
	
		
			6.3 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			261 lines
		
	
	
	
		
			6.3 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
| CodeStudio = {}
 | |
| 
 | |
| -- Grundeinstellungen
 | |
| CodeStudio.ServerType = 'QB'    --QB|ESX
 | |
| CodeStudio.AutoSQL = true
 | |
| CodeStudio.Debug = false
 | |
| 
 | |
| -- FakeID Konfiguration
 | |
| CodeStudio.FakeID = {
 | |
|     Enable = false,
 | |
|     itemName = 'fake_id',
 | |
|     location = {
 | |
|         vector4(-435.6670, 1096.8016, 329.7667, 3),
 | |
|     }
 | |
| }
 | |
| 
 | |
| -- Lizenztypen
 | |
| CodeStudio.LicenseTypes = {
 | |
|     ['public'] = true,    
 | |
|     ['job'] = true,       
 | |
|     ['worker'] = true     
 | |
| }
 | |
| 
 | |
| -- Worker ID Setup
 | |
| CodeStudio.WorkerID = {  
 | |
|     ['postal'] = {  
 | |
|         ItemName = 'postal_id',         
 | |
|         JobTitle = 'Go Postal',         
 | |
|         Logo = 'image/go-postal.png',   
 | |
|         ThemeColor = '#eb4f4f',         
 | |
|         Price = 0,                      
 | |
|     },
 | |
|     ['taxi'] = {
 | |
|         ItemName = 'taxi_id',
 | |
|         JobTitle = 'Taxi Driver',
 | |
|         Logo = 'image/taxi.png',
 | |
|         ThemeColor = '#f4c430',
 | |
|         Price = 0,
 | |
|     },
 | |
|     ['mechanic'] = {
 | |
|         ItemName = 'mechanic_id',
 | |
|         JobTitle = 'Mechanic',
 | |
|         Logo = 'image/mechanic.png',
 | |
|         ThemeColor = '#1a1a1a',
 | |
|         Price = 0,
 | |
|     }
 | |
| }
 | |
| 
 | |
| -- Standardeinstellungen
 | |
| CodeStudio.DefaultSettings = {
 | |
|     DefaultExpiry = 365,  
 | |
|     DefaultPrice = 150,   
 | |
|     DefaultType = "public" 
 | |
| }
 | |
| 
 | |
| -- Lizenzen Definition
 | |
| CodeStudio.Licenses = {
 | |
|     ['id_card'] = {
 | |
|         label = "Personalausweis",
 | |
|         type = "public",
 | |
|         price = 150,
 | |
|         expire = false,
 | |
|     },
 | |
|     ['driver_license'] = {
 | |
|         label = "Führerschein",
 | |
|         type = "public",
 | |
|         price = 500,
 | |
|         expire = true,
 | |
|         expire_time = 365,
 | |
|     },
 | |
|     ['weapon_license'] = {
 | |
|         label = "Waffenschein",
 | |
|         type = "public",
 | |
|         price = 1000,
 | |
|         expire = true,
 | |
|         expire_time = 180,
 | |
|     },
 | |
|     ['police_card'] = {
 | |
|         label = "Polizeiausweis",
 | |
|         type = "job",
 | |
|         job = "police",
 | |
|         price = 0,
 | |
|         expire = false,
 | |
|     },
 | |
|     ['bcso_card'] = {
 | |
|         label = "BCSO Ausweis",
 | |
|         type = "job",
 | |
|         job = "police",
 | |
|         price = 0,
 | |
|         expire = false,
 | |
|     },
 | |
|     ['ems_card'] = {
 | |
|         label = "Sanitäter Ausweis",
 | |
|         type = "job",
 | |
|         job = "ambulance",
 | |
|         price = 0,
 | |
|         expire = false,
 | |
|     },
 | |
|     ['doj_card'] = {
 | |
|         label = "Justiz Ausweis",
 | |
|         type = "job",
 | |
|         job = "doj",
 | |
|         price = 0,
 | |
|         expire = false,
 | |
|     },
 | |
|     ['marshal_card'] = {
 | |
|         label = "Marshal Ausweis",
 | |
|         type = "job",
 | |
|         job = "marshal",
 | |
|         price = 0,
 | |
|         expire = false,
 | |
|     },
 | |
|     ['postal_id'] = {
 | |
|         label = "Go Postal Ausweis",
 | |
|         type = "worker",
 | |
|         price = 0,
 | |
|         expire = false,
 | |
|     },
 | |
|     ['taxi_id'] = {
 | |
|         label = "Taxi Ausweis",
 | |
|         type = "worker",
 | |
|         price = 0,
 | |
|         expire = false,
 | |
|     },
 | |
|     ['mechanic_id'] = {
 | |
|         label = "Mechaniker Ausweis",
 | |
|         type = "worker",
 | |
|         price = 0,
 | |
|         expire = false,
 | |
|     }
 | |
| }
 | |
| 
 | |
| CodeStudio.IDSettings = {
 | |
|     Animations = true,     
 | |
|     AutoDisappearID = {     
 | |
|         Enable = false,     
 | |
|         Wait = 3000         
 | |
|     },
 | |
|     useMetaData = true    
 | |
| }
 | |
| 
 | |
| CodeStudio.IDPhotoMode = {
 | |
|     ProfilePic_Type = 'studio',     
 | |
|     StudioLocation = vector4(-418.4053, 1090.5022, 329.7664, 3),  
 | |
|     useGreenScreen = true,     
 | |
|     Save_Method = 'discord'     
 | |
| }
 | |
| 
 | |
| CodeStudio.LocationSettings = {     
 | |
|     useTarget = {
 | |
|         Enable = false,              
 | |
|         Target = 'qb-target'        
 | |
|     },
 | |
|     useTextUI = {
 | |
|         Enable = true,              
 | |
|         openKey = 38                
 | |
|     }
 | |
| }
 | |
| 
 | |
| CodeStudio.LicenseCreator = {       
 | |
|     creatorCommand = 'idcreate',    
 | |
|     Restrict = {    
 | |
|         'admin'
 | |
|     }
 | |
| }
 | |
| 
 | |
| CodeStudio.LicenseChecker = {        
 | |
|     Enable = true,  
 | |
|     checkCommand = 'idcheck',  
 | |
|     Restrict = {    
 | |
|         'police'
 | |
|     }
 | |
| }
 | |
| 
 | |
| CodeStudio.LicenseMenu = {  
 | |
|     [1] = {
 | |
|         location = {     
 | |
|             vector4(-435.0517, 1098.1042, 329.7664, 3),
 | |
|             vector4(448.6075, -975.8693, 30.6610, 10.7146),
 | |
| 
 | |
|         },
 | |
|         types = {   
 | |
|             PublicID = true,
 | |
|             JobID = true,
 | |
|             WorkerID = true,
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| CodeStudio.LicenseMenu_Blip = { 
 | |
|     Enable = false,      
 | |
|     blipsprite = 498,
 | |
|     blipscale = 0.8,
 | |
|     blipcolor = 0,
 | |
|     blipText = 'Lizenen Ausgabe'
 | |
| }
 | |
| 
 | |
| CodeStudio.Management = {
 | |
|     ['police'] = {  
 | |
|         minRank = 7,    
 | |
|         JobBadge = {
 | |
|             Enable = true,                  
 | |
|             Name = "Police Department",     
 | |
|             Logo = 'image/lspd.png',     
 | |
|             ThemeColor = '#373d4c',         
 | |
|             BadgeStyle = true,               
 | |
|             Price = 0,                      
 | |
|             ItemName = 'police_card'        
 | |
|         },
 | |
|         location = {        
 | |
|             vector4(452.5068, -987.4856, 30.6611, 159.4818)
 | |
|         }
 | |
|     },
 | |
| 
 | |
|     ['ems'] = {
 | |
|         minRank = 10,    
 | |
|         JobBadge = {
 | |
|             Enable = true,                  
 | |
|             Name = "Ocean Medical Center",        
 | |
|             Logo = 'image/ocean.png',     
 | |
|             ThemeColor = '#FFB6C1',         
 | |
|             Price = 0,                      
 | |
|             ItemName = 'ems_card'           
 | |
|         },
 | |
|         location = {        
 | |
|             vector4(-1848.3832, -351.9334, 84.0086, 3)
 | |
|         }
 | |
|     },
 | |
| 
 | |
|     ['marshal'] = {
 | |
|         minRank = 11,    
 | |
|         JobBadge = {
 | |
|             Enable = true,                  
 | |
|             Name = "San Andrea Marshal Agency",        
 | |
|             Logo = 'image/ocean.png',     
 | |
|             ThemeColor = '#FFB6C1',         
 | |
|             BadgeStyle = true,               
 | |
|             Price = 0,                      
 | |
|             ItemName = 'marshal_card'           
 | |
|         },
 | |
|         location = {        
 | |
|             vector4(-433.7445, 1095.0703, 329.7667, 3)
 | |
|         }
 | |
|     },
 | |
| 
 | |
|     ['doj'] = {
 | |
|         minRank = 0,    
 | |
|         JobBadge = {
 | |
|             Enable = true,                  
 | |
|             Name = "Department of Justice",        
 | |
|             Logo = 'image/doj.png',     
 | |
|             ThemeColor = '#33261d',         
 | |
|             Price = 0,                      
 | |
|             ItemName = 'doj_card'           
 | |
|         },
 | |
|         location = {        
 | |
|             vector4(-439.9981, 1088.2727, 329.7667, 161.0600)
 | |
|         }
 | |
|     },
 | |
| 
 | |
| }
 | 
