(SOLVED)GUI help-"expected semicolon after )"

Started by funnyboy044, Fri 07/07/2017 22:36:19

Previous topic - Next topic

funnyboy044

I'm trying to make a basic "Are you sure you want to quit?" GUI for the first time. I've made the GUI, but now I have an issue coding it.
CODE:
Code: ags

function room_FirstLoad()
{
QUITGUI.Visible = true;
}


On line 3, I get an error that says "expected semicolon after )" I checked if there were spots in previous lines where I forgot semicolons and tried to make QUITGUI.Visible a global variable. but to no such luck. Please help!
,

Mandle

Hmmmmm.... perhaps AGS means line 3 of a different script?

funnyboy044

I figured it out. I had it written incorrectly. I should've written it as "gQUITGUI.Visible".

Thanks for trying to help anyway.
,

SMF spam blocked by CleanTalk