cvars.OnConVarChanged

From Garry's Mod
Jump to: navigation, search
 cvars.OnConVarChanged( )

Contents

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

You are probably looking for cvars.AddChangeCallback.

Called by the engine when a convar value changes.

Arguments

string name

Convar name

Arguments

string oldVal

The old value of the convar

Arguments

string newVal

The new value of the convar
Personal tools
Navigation