luizragna Posted January 3, 2018 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 107 Reputation: 28 Joined: 02/12/14 Last Seen: January 9, 2023 Share Posted January 3, 2018 Hi guys. I tried use the script command: playBGM, but this problem happens in the console: playBGM "30.mp3"; [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: playBGM (1 parameter): [Debug]: Data: string value="30.mp3" [Debug]: Source (NPC): spawn#PayD03 at pay_dun03 (147,137) OBS: I have the 30.mp3 in my BGM folder. Quote Link to comment Share on other sites More sharing options...
0 luizragna Posted January 3, 2018 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 107 Reputation: 28 Joined: 02/12/14 Last Seen: January 9, 2023 Author Share Posted January 3, 2018 I solved only changed the command. playbgmall "30"; Quote Link to comment Share on other sites More sharing options...
0 Stolao Posted January 3, 2018 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Yesterday at 01:58 PM Share Posted January 3, 2018 the filename is '30' not '30.mp3' for playbgm Quote Link to comment Share on other sites More sharing options...
0 luizragna Posted January 3, 2018 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 107 Reputation: 28 Joined: 02/12/14 Last Seen: January 9, 2023 Author Share Posted January 3, 2018 I managed to fix the console problem. But the audio does not play. I tried change 30.mp3 to 30 but nothing has changed. pay_dun03,155,128,4 script Music#PayD03 52,{ //playBGM "30"; playBGM "30.mp3"; mes "Hi"; close; } Quote Link to comment Share on other sites More sharing options...
Question
luizragna
Hi guys. I tried use the script command: playBGM, but this problem happens in the console:
OBS: I have the 30.mp3 in my BGM folder.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.