Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   musiclen (https://forums.graalonline.com/forums/showthread.php?t=72946)

Chandler 03-19-2007 08:59 PM

musiclen
 
What does this even produce? It's not correct that's for sure.

godofwarares 03-19-2007 09:51 PM

The length of the song currently being played.

play("whatever.mp3");
echo(musiclen);

xXziroXx 03-19-2007 10:39 PM

NOTE: Only works with mp3

godofwarares 03-19-2007 10:43 PM

Quote:

Originally Posted by xXziroXx (Post 1290707)
NOTE: Only works with mp3

Aye, Won't work with MIDI, Only MP3, and (maybe?) WAV

Chandler 03-20-2007 08:16 AM

Are you sure that it even works for MP3s played from a website?

Admins 03-20-2007 10:57 AM

Works for local streams only (mp3, ogg, wma). For website-streams it might not be correct.

Angel_Light 03-20-2007 02:10 PM

Graal can play .ogg O_o

xXziroXx 03-20-2007 07:43 PM

Graal can play .wma O_o

Skyld 03-20-2007 08:11 PM

Graal can play the formats supported by fmod I think, perhaps also .flac, .aiff and such like.

Chandler 03-20-2007 08:15 PM

Quote:

Originally Posted by Skyld (Post 1291039)
Graal can play the formats supported by fmod I think, perhaps also .flac, .aiff and such like.

Oh cool.
Could you [Stefan] make it display the correct time from a website?


All times are GMT +2. The time now is 10:34 PM.

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