View Single Post
  #4  
Old 03-15-2005, 10:40 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
First off, your going to have to convert the seconds into minutes for it to play right. I believe it only works with mp3's.

Anyway, I was working on converting and I converted how long mp3 is, but I can't convert how much were into the song already.

If someone can shorten it, or make it so it shows how much were into the song, I'll be grateful.


NPC Code:

// NPC made by KuJi
if (created) play http://www.graalx.us/downloads/music/Encore/03-eminem-never_enough_(feat_50_cent_and_nate_dogg)_(produce d_by_dr_dre_and_mike_elizondo).mp3;

if (playerchats && strequals(#c,/time)) {
length = musiclen/60;
length2 = strtofloat(#v(int(length)))*60;
length3 = musiclen-length2;
say2 #v(int(musicpos))/#v(int(musiclen)) - #v(int(length)):#v(int(length3));
}




I left the play part in their, cause that's the song i tested it in.
Reply With Quote