ID:268262
May 20 2004, 8:42 am
|
|
How long is 2:16 minutes(2 m inutes and 16 seconds) if i where to put it in sleep(Numberwhatever.)? and i want the song to play for ever.
|
In response to Scoobert
|
|
Scoobert wrote:
if 10ticks=1second Or, my favorite way to do this is like this... var/second=10 var/minute=600 var/hour=36000 Then, just take another variable and times it by how many minutes, seconds, hours etc... |
In response to Scoobert
|
|
Scoobert wrote:
if 10ticks=1second and i want the song to play for ever on login? Like Looping it |
In response to Vash_616
|
|
There is a parameter in the sound function that does that. Look up sound in the reference.
|
In response to Goku72
|
|
handy little trick there bud.
|
In response to Goku72
|
|
Goku72 wrote:
Scoobert wrote: Or you can use the handy #define #define SEC 10 #define MIN 600 #define HOUR 36000 |
60seconds=1minute
2minutes and 16seconds=1360ticks, provided my math is right.