note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to 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.