Raised This Month: $ Target: $400
 0% 

EmitAmbientSound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 10-28-2007 , 00:47   EmitAmbientSound
Reply With Quote #1

What is this for and how would I use it?
http://www.amxmodx.org/funcwiki.php?...ound&go=search
It sounds like it plays a background music or some sort...
I wouldn't mind using it if it does so I don't have to this...

PHP Code:
public ambience_loop() 
{
    if(!
get_pcvar_num(zomb_switch) || !get_pcvar_num(zomb_ambience))
        return 
PLUGIN_HANDLED
    
    client_cmd
(0,"spk %s"ZOMBIE_AMBIENCE)
    
    
set_task(17.0,"ambience_loop")
    
    return 
PLUGIN_CONTINUE

__________________
It's a mystery.
Mini_Midget is offline
 



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 01:22.


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