12-03-2012, 03:02 AM
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
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
