I'm trying to make a GUI button to open the Iconbar GUI

Started by seraphimdreamer777, Fri 07/08/2009 17:48:26

Previous topic - Next topic

seraphimdreamer777

I plan on making a big Icon Bar and wanted to get a small GUI button to open it. But I can't seem to get the button to work. Here is my code so far

Code: ags
function btnIconBar_OnClick(GUIControl *control, MouseButton button)
{
Display(gIconbar);
}


Victory is my destiny

NsMn

Not Display();. You must use:

gIconbar.Visible=true;

SMF spam blocked by CleanTalk