luizragna Posted January 3, 2018 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 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 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 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...
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