Skip to content

Commit

Permalink
redm.inc: add ConVar_ExtendedFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Feb 10, 2024
1 parent 09e487f commit 8a10619
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cstrike/addons/amxmodx/scripting/include/redm.inc
Original file line number Diff line number Diff line change
Expand Up @@ -590,3 +590,10 @@ stock _xs_vec_to_string(const Float: vec[], output[], const len, const precision
stock const XS_X = 0;
stock const XS_Y = 1;
stock const XS_Z = 2;

// Extend ConVar flags.
enum _: ConVar_ExtendedFlags (<<= 1) {
_FCVAR_BOOLEAN = (FCVAR_NOEXTRAWHITEPACE << 1), /**< Can contain boolean value */
_FCVAR_STRING, /**< Can contain string value */
_FCVAR_FLOAT, /**< Can contain float value */
}

0 comments on commit 8a10619

Please sign in to comment.