Black Ops III

GetDvarInt

Gets the value of a dvar.

Example:

GetDvarInt( "r_eyesAdjust", 1 )

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 an integer.

* = mandatory