GetAdminFlag Function

Returns whether or not a flag is enabled on an admin.

bool GetAdminFlag(AdminId id, AdminFlag flag, AdmAccessMode mode)

Parameters

AdminId id

AdminId index of the admin.

AdminFlag flag

Admin flag to use.

AdmAccessMode mode

Access mode to check.

Return Value

True if enabled, false otherwise.