Raised This Month: $ Target: $400
 0% 

[ SOLVED ] Stop specified sound?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-31-2015 , 16:37   [ SOLVED ] Stop specified sound?
Reply With Quote #1

How do i stop playing a specific sound, for example:

PHP Code:
#include < amxmodx >

new const SOUND[] = "sounds/test";

public 
plugin_init()
{
    
register_event("HLTV""event_round_start""a""1=0""2=0");
}

public 
event_round_start(id)
{
    
client_cmd(id"spk test/%s"SOUND);
}

public function(
id)
{
    
client_cmd(id"stopsound %s"SOUND);

__________________









Last edited by CrazY.; 11-02-2015 at 12:37.
CrazY. 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 18:02.


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