Returns information about a configuration variable


See also CVar functions.

Signature:

value, defaultValue, serverStoredAccountWide, serverStoredPerCharacter = GetCVarInfo("cvar")

Arguments:

  • cvar - Name of a CVar (string)

Returns:

  • value - Current value of the CVar (string)
  • defaultValue - Default value of the CVar (string)
  • serverStoredAccountWide - 1 if the CVar's value is saved on the server and shared by all characters on the player's account; otherwise nil (1nil)
  • serverStoredPerCharacter - 1 if the CVar's value is saved on the server and specific to the current cahracter; otherwise nil (1nil)