Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-26-2008, 01:20 AM
Jimbo33 Jimbo33 is offline
****
Jimbo33's Avatar
Join Date: Jan 2008
Location: Canada
Posts: 74
Jimbo33 is on a distinguished road
Send a message via AIM to Jimbo33 Send a message via MSN to Jimbo33
How to play music?

Hi guys, I need to know how to get a song playing online.
I tried a few things but none would work. Then thinking my folder configuration was wrong, making the song i uploaded unreadable, i tried with graalmain.mid. But still not working. Here's what I tried can anyone fix it to make it work? Plz.

PHP Code:
//#CLIENTSIDE
function onPlayerEnters(){
play("graalmain.mid");

Reply With Quote
  #2  
Old 01-26-2008, 02:17 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
On RC, write this "/find graalmain.mid"

And make sure it's under 1mb in size, and that it is in a folder that allows it to be downloaded (for example levels/sounds/*)
__________________
Reply With Quote
  #3  
Old 01-26-2008, 03:50 AM
Jimbo33 Jimbo33 is offline
****
Jimbo33's Avatar
Join Date: Jan 2008
Location: Canada
Posts: 74
Jimbo33 is on a distinguished road
Send a message via AIM to Jimbo33 Send a message via MSN to Jimbo33
Thanks, i realized my folder configuration was wrong, but then i used your /find thing and it told me my file was a little bit over 1mb, i used another file and it works now. Thanks again
Reply With Quote
  #4  
Old 01-26-2008, 03:53 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Jimbo33 View Post
Thanks, i realized my folder configuration was wrong, but then i used your /find thing and it told me my file was a little bit over 1mb, i used another file and it works now. Thanks again
No problem
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:51 AM.


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