Garry's Mod Wiki


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


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.


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

Page Links

Special Pages



Render Time: 30ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 11
Render Body 0
Render Sidebar 12