Need help about my upcoming Addon!

Hi alltogether!

Well, I’ve started to script a mod named “myPC”. It’s simmilar to PCMod 2, but it will have other functions (like Real-Time Booting, etc. ) and it has a Mac OS X and Windows design.
Well, now I’ve worked on that for 1 Week and today I’ve tried it out on GMod. It didn’t work, because it shows that error:



autorun/myPC.lua:52: ')' expected near '='
autorun/myPC.lua:52: ')' expected near '='


Here’s the Source-Code:
http://pastebin.com/f3651e052 (I’ve posted it on pastebin.com because the thread would get really big)

Well, do someone knows how to fix this or it is impossible to fix that?

Put them in functions.

Like, for example, lines 52 to 55 should look like this:

[lua]timer.Simple( 1, function () Label1 = vgui.Create( “DLabel”, MainPanel );
Label1:SetText(“myBIOS - v1.4”);
Label1:SetPos( 25, 50 );
end)[/lua]

[lua]
timer.Simple( 1, function()
Label1 = vgui.Create( “DLabel”, MainPanel );
Label1:SetText(“myBIOS - v1.4”);
Label1:SetPos( 25, 50 );
);
[/lua]

-Thanks for posting a fraction of a second before me gmod >:(

Thanks mate! I’ve forgot about that one…