warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
IsValidServerRule
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
Checks if the given server rule is valid.
Name | Description |
---|---|
const rule[] | The server rule name to check. |
Returns
Returns true if the server rule is valid, otherwise false.
Examples
if (IsValidServerRule("version"))
{
// Server rule is valid
}
else
{
// Server rule is not valid
}
Related Functions
- AddServerRule: Add a server rule.
- RemoveServerRule: Remove the server rule.