Garry's Mod Wiki

Garry's Mod Wiki

  cvars.OnConVarChanged( string name, string oldVal, string newVal )

Description

This is used internally - although you're able to use it you probably shouldn't. You are probably looking for cvars.AddChangeCallback.

Called by the engine when a convar value changes.

Arguments

1 string name
Convar name
2 string oldVal
The old value of the convar
3 string newVal
The new value of the convar

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...