Changed ConVarChanged to take a ConVar variable. Backwards compatible with Handle variables (I tested this to make sure).
This commit is contained in:
parent
87a21c7ff8
commit
3fff07b33d
@ -456,7 +456,7 @@ native ConVar:FindConVar(const String:name[]);
|
||||
* @param newValue String containing the new value of the convar.
|
||||
* @noreturn
|
||||
*/
|
||||
typedef ConVarChanged = function void (Handle convar, const char[] oldValue, const char[] newValue);
|
||||
typedef ConVarChanged = function void (ConVar convar, const char[] oldValue, const char[] newValue);
|
||||
|
||||
/**
|
||||
* Creates a hook for when a console variable's value is changed.
|
||||
|
Loading…
Reference in New Issue
Block a user