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
Script Help Unexpected end of the file?
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: Unexpected end of the file?

PHP Code: (Select All)
void TouchDoor(string &in asEntity)
{
if(
GetLocalVarInt("Switch") == 0)
}
{
AddQuest("door""touchdoor");


This is another problem. It doesn't use the rules of the syntax.

This is probably how you want it to be:

PHP Code: (Select All)
void TouchDoor(string &in asEntity)
{
    if(
GetLocalVarInt("Switch") == 0)
    {
        
AddQuest("door""touchdoor");
    }


(This post was last modified: 02-14-2015, 08:29 PM by Mudbill.)
02-14-2015, 08:29 PM
Find


Messages In This Thread
Unexpected end of the file? - by MaksoPL - 02-14-2015, 08:14 PM
RE: Unexpected end of the file? - by Neelke - 02-14-2015, 08:28 PM
RE: Unexpected end of the file? - by Mudbill - 02-14-2015, 08:29 PM
RE: Unexpected end of the file? - by MaksoPL - 02-14-2015, 08:32 PM



Users browsing this thread: 1 Guest(s)