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:
Vladimir
2021-03-21 15:10:17 +01:00
committed by GitHub
parent e552466886
commit 5a72644486
2 changed files with 24 additions and 0 deletions
+6
View File
@@ -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