The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 end of file...
ryan1431 Offline
Junior Member

Posts: 14
Threads: 10
Joined: Dec 2012
Reputation: 0
#1
Unexpected end of file...

I need some help with an error i'm having which i can't seem to solve. The script i have in my .hps file is this:

void papermusic_01(string &in asEntity)
{
PlayGameMusic(01_paper_self.ogg, 1, 0, 0, 0);
SetTimer("paper_01_music", 25, "paper_01_music");
}

void paper_01_music(string &in asTimer)
{
StopGameMusic(1, 0)
}

The papermusic_01 is the callbackfunc. < - The point of the script is to play music when I pick up the paper file (entity). NOW, when i try to quickmapreload, it says this...

Main (49,2) : ERR : Unexpected end of file

^ end of file?? wha?? like it all makes sense doesn't it?? please help
12-03-2012, 03:02 AM
Find


Messages In This Thread
Unexpected end of file... - by ryan1431 - 12-03-2012, 03:02 AM
RE: Unexpected end of file... - by Adrianis - 12-03-2012, 03:08 AM
RE: Unexpected end of file... - by ryan1431 - 12-03-2012, 03:16 AM



Users browsing this thread: 1 Guest(s)