Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-10-10, 01:45 AM   #1
Toomuchsugar
A Kobold Labourer
Join Date: Jun 2010
Posts: 1
Question Removing party frames help!

alright I'm vary new to Lua and add-on coding, Trying to create an add-on that removes my party frames on log in.

Code:
function MyAddon_OnLoad()

	HidePartyFrame:SetScript("OnEvent", nil);
	HidePartyFrame();
end
now either something wrong with it, or I'm missing a vital step in the add-on creating process, any help?

Last edited by Toomuchsugar : 06-10-10 at 01:49 AM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Removing party frames help!


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off