Lua sleep() [message #450306] |
Fri, 29 July 2011 17:48 |
|
Intradox
Messages: 60 Registered: February 2011 Location: United States
Karma:
|
Recruit |
|
|
Hello, so I'm using the Lua Plugin v5.0 on my server, and I was wondering how/if its possible to make a sleep() function. I've found functions that do it, but they cause the entire program to sleep. So I was wondering if its possible to make one that doesn't make the entire program sleep, just the script? Or if it would be possible to achieve this with timers, because I want to wait x amount of seconds before I change the song that's being played. Like the music plugin from BRenBot.
I know this isn't DCOM's site, but the last post on there was in 2009 and my thread on there hasn't gotten a single view besides my own. So I asked here since I may get more help.
Thanks,
Intradox
Not pro enough at renegade to snipe.
[Updated on: Fri, 29 July 2011 18:08] Report message to a moderator
|
|
|