Import of basecomm. Import of randomcycle. New stock added to console.inc.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401481
This commit is contained in:
Michael McKoy
2007-09-26 01:22:25 +00:00
parent efbf57ac90
commit a4d85676e8
4 changed files with 680 additions and 0 deletions
+11
View File
@@ -669,3 +669,14 @@ native bool:CheckCommandAccess(client,
const String:command[],
flags,
bool:override_only=false);
/**
* Returns true if the supplied character is valid in a ConVar name.
*
* @param c Character to validate.
* @return True is valid for ConVars, false otherwise
*/
stock bool:IsValidConVarChar(c)
{
return (c == '_' || IsCharAlpha(c) || IsCharNumeric(c));
}