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 STILL...
ryan1431 Offline
Junior Member

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

This is what i have in my .hps file.

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);
}


Okay so the papermusic_01 is the name of the callbackfunc ...

Every time i try to "quickmapreload" using debug, it says this...

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

At first i didn't put a ';' after StopGameMusic(1,0) but that doesn't seem to be the problem.

(Btw 49,2 -> refers to the line 'StopGameMusic(1,0);'
12-04-2012, 02:50 AM
Find


Messages In This Thread
Unexpected end of file STILL... - by ryan1431 - 12-04-2012, 02:50 AM



Users browsing this thread: 1 Guest(s)