RSS

Суббота, 21.12.2024, 18:45
Главная » WoW API » API Функции » Связанные с аддонами »

DisableAddOn

[ править ]
Marks an addon as disabled.
[клоны]
Marks an addon as disabled. The addon will remain active until the player logs out and back in or reloads the UI (see ReloadUI()). Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis.

Signature:
Code
DisableAddOn("name") or DisableAddOn(index)

Arguments:
  • name - Name of an addon (name of the addon's folder and TOC file, not the Title found in the TOC) (string)
  • index - Index of an addon in the addon list (between 1 and GetNumAddOns()) (number)

Также смотрите: Связанные с аддонами , Addon-related functions
Ссылки: http://wowprogramming.com/docs/api/DisableAddOn