// Access Control Library (olds.ro) - include for plugins that use it.
// GPL-3.0-or-later. Library "olds_acl" (olds_acl.amxx must load before your plugin).
#if defined _olds_acl_included
#endinput
#endif
#define _olds_acl_included
#pragma reqlib "olds_acl"
#if !defined AMXMODX_NOAUTOLOAD
#pragma loadlib "olds_acl"
#endif
/**
* True when the player holds a flag mapped to the right in configs/olds_acl.ini
* (for example "kick", "ban"). An unknown right returns false and is logged once.
* The server console (id 0) has every right.
*/
native acl_has_access(id, const right[])
/**
* The player's rank: the highest "level N = flags" line whose flags they all hold,
* or, with no levels in the file, the number of admin flags a-u they hold.
*/
native acl_get_level(id)
/**
* False when target holds an immunity flag (olds_acl_default_immunity) and admin
* does not outrank them. Acting on yourself, or from the server console (0), is allowed.
*/
native acl_can_target(admin, target)
/**
* Called when a player's flags were (re)read after they authorized or joined, and
* for everyone after amx_acl_reload.
*/
forward acl_changed(id)