Raised This Month: $ Target: $400
 0% 

looping sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ceryeceon
Member
Join Date: May 2004
Old 08-29-2007 , 17:09   looping sounds
Reply With Quote #1

I'm trying to figure out how to play a sound file in a loop when a plugin is enabled and turn it off when it's disabled. I can get it to start when it's turned on.. but can't get it to stop when it's off.. I tried using a condition statement (if the cvar was on play the loop, if it's off do nothing. and it was caught in an infinite loop and.. crashed my server didn't matter what the cvar was set to.. it would crash. =/
ceryeceon is offline
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 09-01-2007 , 02:19   Re: looping sounds
Reply With Quote #2

errmm post your current code, we may be better able to help you.
__________________
Don't ever place an order with Vee Servers. This is why.
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode