Returns whether an admin has access to a given command string. The string can be any override string, as overrides can be independent of commands. This feature essentially allows you to create custom flags using the override system.
bool CheckAccess(AdminId id, const char[] command, int flags, bool override_only)
AdminId of the admin.
Command name. If the command is not found, the default flags are used.
Flag string to use as a default, if the command or override is not found.
If true, SourceMod will not attempt to find a matching command, and it will only use the default flags specified. Otherwise, SourceMod will ignore the default flags if there is a matching admin command.
True if the admin has access, false otherwise.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.