View Single Post
02-08-13, 06:26 PM   #3
Doxramos
A Defias Bandit
Join Date: Feb 2013
Posts: 2
I put
Code:
ServerPanel:Hide();
and
Code:
ServerPanel:Hide()
at the beginning of my LUA and it didn't hide the addon on loadup but instead stopped all functions; afterwards I tried to used the third code to have the same thing happen =/ I'm not getting any LUA errors just all show hides stop working altogether.


Just a thought, but for the if else statement; Shouldn't there be something along the lines of
Code:
function myfunction_OnClick()
if ServerPanel:Hide == true then
ServerPanel:Show();
else
ServerPanel:Hide();
end

Last edited by Doxramos : 02-08-13 at 06:41 PM.
  Reply With Quote