IsAclEnabled: Difference between revisions
(Created page with "Checks whether the ACL is enabled or not. ==Syntax== {{#tag:pre|bool {{Template:CSharp_Serverside_namespace}}ACL.IsAclEnabled();}} ==Example== {{CSharpContainer| {{Example}}...") |
No edit summary |
||
| Line 1: | Line 1: | ||
Checks whether the ACL is enabled or not. | Checks whether the ACL is enabled or not. | ||
{{CSharpContainer| | |||
{{#tag:pre|bool {{Template:CSharp_Serverside_namespace}}ACL.IsAclEnabled();}} | {{#tag:pre|bool {{Template:CSharp_Serverside_namespace}}ACL.IsAclEnabled();}} | ||
{{Parameters}} | |||
{{ | *'''player:''' parameter input should be in '''Client''' type | ||
{{Example}} | {{Example}} | ||
{{#tag:syntaxhighlight| | |||
if (NAPI.ACL.IsAclEnabled()) | if (NAPI.ACL.IsAclEnabled()) | ||
{ | { | ||
// Do stuff... | // Do stuff... | ||
} | }ng=csharp}} | ||
}} | }} | ||
[[Category:Serverside API]] | [[Category:Serverside API]] | ||
Revision as of 20:45, 27 November 2019
Checks whether the ACL is enabled or not.
C# Syntax
bool NAPI.ACL.IsAclEnabled();
Parameters
- player: parameter input should be in Client type
Example
if (NAPI.ACL.IsAclEnabled())
{
// Do stuff...
}ng=csharp