WoW:API EnableAddOn: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(reload ui to take effect)
Line 12: Line 12:
=== Returns ===
=== Returns ===
:''nil''
:''nil''
==Notes==
* Takes effect only after reloading the UI - [[API_ReloadUI|ReloadUI()]].

Revision as of 17:09, 6 July 2008

WoW API < EnableAddOn

Enable an AddOn for subsequent sessions.

EnableAddOn(index or "name")

Parameters

Arguments

(index or "name")
index
Integer - The index of the AddOn to enable in the user's AddOn list.
name
String - The name of the AddOn to be enabled.

Returns

nil

Notes

  • Takes effect only after reloading the UI - ReloadUI().