Black Ops III

GetDvarString

Gets the value of a dvar.

Example:

GetDvarString( "r_eyesAdjust", "yes" )

Parameters

ParameterSummary
*dvarThe dvar name as a string or hash.
[default_value]The value to be returned if the dvar doesn't exist, must be a string.

* = mandatory