Add ConVar.GetDescription() method (#1449)
* Add ConVar.GetDescription() method Issue #1432 * Update basecommands.sp Add prints description of ConVar * Revert "Update basecommands.sp" This reverts commit ad485069a837f602bdeeeb50f9e02452b3860ecd. * Remove GetConVarDescription() function
This commit is contained in:
@@ -225,6 +225,12 @@ methodmap ConVar < Handle
|
||||
// @param maxlength Maximum length of string buffer.
|
||||
public native void GetName(char[] name, int maxlength);
|
||||
|
||||
// Retrieves the description of a console variable.
|
||||
//
|
||||
// @param buffer Buffer to store the description of the convar.
|
||||
// @param maxlength Maximum length of string buffer.
|
||||
public native void GetDescription(char[] buffer, int maxlength);
|
||||
|
||||
// Replicates a convar value to a specific client. This does not change the actual convar value.
|
||||
//
|
||||
// @param client Client index
|
||||
|
||||
Reference in New Issue
Block a user