SetAdminFlag Function

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

void SetAdminFlag(AdminId id, AdminFlag flag, bool enabled)

Parameters

AdminId id

AdminId index of the admin.

AdminFlag flag

Admin flag to use.

bool enabled

True to enable, false to disable.