System SetCVar

From CryWiki

Jump to: navigation, search

System.SetCVar(string, value)

Description

Sets a cvar to a specified value

Arguments

  1. CVar name
  2. The value


Example

Lua (example)
System.SetCVar("cl_fov", 40);


Notes

A list of cvars can be found on the Console_Commands_and_CVars page.

Personal tools