Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-03-2007, 10:51 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
play() as a player comes online

I have a weapon NPC that all players get. In onCreated I have:

PHP Code:
play("http://location-to/song.mp3"); 
It works if I update the script and get the onCreated event called way after login, but it seems that calling play() right after login gives this error in the F2 window:

FMod Sounds: using default sound driver
FMod Sounds: error when playing http://www.songarea.com/music-code/n...693cba6943.mp3

The URL there is also not the URL of the song i'm trying to play. Logon to graalaxy and you'll see the problem.
__________________

Coming soon (Hopefully:P)

Last edited by JkWhoSaysNi; 07-03-2007 at 11:03 PM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.