Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unexpected token 'if'
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Unexpected token 'if'

The following is out of place:
if (GetLocalVarInt ("iIntroPart") <2)
{
AddTimer("tmrIntro", partSpeed, "introSequence");
}

It needs to be inside a function body.

Tutorials: From Noob to Pro
07-20-2012, 06:34 AM
Website Find


Messages In This Thread
Unexpected token 'if' - by Redneb27 - 07-20-2012, 06:24 AM
RE: Unexpected token 'if' - by Your Computer - 07-20-2012, 06:34 AM



Users browsing this thread: 1 Guest(s)