Initial commit
This commit is contained in:
		
							
								
								
									
										6
									
								
								api/GetCVarBool.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								api/GetCVarBool.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
---@diagnostic disable: missing-return, lowercase-global
 | 
			
		||||
 | 
			
		||||
---@param cvar string 
 | 
			
		||||
---@return 1nil value 
 | 
			
		||||
---Returns the value of a configuration variable in a format compatible with Lua conditional expressions. All configuration variables are stored as strings; many CVars represent the state of a binary flag and are stored as either "1" or "0". This function provides a convenient way to test the state of such variables without the extra syntax required to explicitly check for "1" or "0" values.
 | 
			
		||||
function GetCVarBool(cvar) end
 | 
			
		||||
		Reference in New Issue
	
	Block a user