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 Error! Help!
UnseenLegend ( NL ) Offline
Member

Posts: 171
Threads: 10
Joined: Sep 2011
Reputation: 12
#6
RE: Script Error! Help!

there is no function to Stop playing music when you close the note well... i dont know.
but you can add a Timer To stop the music
you know like this

PHP Code: (Select All)
void PickingUpNote(string &in asItemstring &in asEntity)
{
PlayMusic("PutYourSongHere "false5.0f0.0f0false);
AddTimer("StopMusic"5.00f,<-- When you Want to stop the music"StopMusic");
}

void StopMusic(string &in asTimer)
{
StopMusic(0.00);


[Image: read-image.asp?n=n-20121202110321-m.jpg&r=8]
12-04-2011, 03:51 PM
Find


Messages In This Thread
Script Error! Help! - by Torelli - 12-02-2011, 12:25 AM
RE: Script Error! Help! - by Your Computer - 12-02-2011, 12:36 AM
RE: Script Error! Help! - by FreshKorruption - 12-02-2011, 12:37 AM
RE: Script Error! Help! - by Torelli - 12-02-2011, 04:09 PM
RE: Script Error! Help! - by Torelli - 12-02-2011, 07:27 PM
RE: Script Error! Help! - by UnseenLegend ( NL ) - 12-04-2011, 03:51 PM



Users browsing this thread: 1 Guest(s)