hey,
i have a GUI that opens when you press the Escape key, which pauses the game and comes up with objects like Save, Load etc.
I made one for Main Menu but it isn't working. i get the message: Parse error at '0', but the number 0 isn't used in the whole line!!
This is what i have under
function Load_Click(GUIControl *control, MouseButton button):
{ STEWIE.ChangeRoom (303, 999, 999);
is this what i should be putting?
Thanks in advance,
Fb.
You missed a closing brace, unless it's just you didn't copy enough codes from your script here:
function Load_Click(GUIControl *control, MouseButton button):
{ STEWIE.ChangeRoom (303, 999, 999);}
I tried that, it just says the same thing Parse Error at 0.
could it be the colon at the end of your function line?
there isn't a colon at the end of the function line, that's just opening what i have UNDER the function line.
Problem Solved: I put Stewie where i should have put cStewie.
Too bad you got it figured out. I had noticed that, but I'd just like to post a reminder:
STEWIE is the equivalent of cStewie.ID!
Don't confuse them. ;)