View Single Post
05/07/14, 10:59 AM   #9
ZunaSW
Join Date: Mar 2014
Posts: 37
Hmm... I'm getting this error:

Code:
user:/AddOns/TestAddon/TestAddon.lua:32: attempt to index a nil value
stack traceback:
	user:/AddOns/TestAddon/TestAddon.lua:32: in function '(main chunk)'
Here is the part of the lua where you can find the line 32:

Code:
Tex01 = wm:CreateControl(TOP, Tex01, CT_TEXTURE)
Tex01:SetDimensions(1,1)
Tex01:SetResizeToFitFile(true)
Tex01:SetResizeToFitDescendents(true)
Tex01:SetTexture("TestAddon/tex/Tex01.dds")
I changed the "nil" of the other code to "TOP".

Any ideas? Thank you, you all are helping me a lot.

Last edited by ZunaSW : 05/07/14 at 11:05 AM.
  Reply With Quote