Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   How to play music? (https://forums.graalonline.com/forums/showthread.php?t=78469)

Jimbo33 01-26-2008 01:20 AM

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");



Chompy 01-26-2008 02:17 AM

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/*)

Jimbo33 01-26-2008 03:50 AM

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 :)

Chompy 01-26-2008 03:53 AM

Quote:

Originally Posted by Jimbo33 (Post 1371932)
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 ^^


All times are GMT +2. The time now is 06:01 AM.

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