AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   who can make mute a wav sound script for client? (https://forums.alliedmods.net/showthread.php?t=289770)

crashbandicoot 10-29-2016 12:10

who can make mute a wav sound script for client?
 
I want mute a wav sound while user pressing +attack2 button.And I did not find anyone can help to me on this forum. But I beliving that someone can do it . Because client(id,"stopsound) is stopping all sounds on the server for hearing X( . and FM_EMITsound forward is cannot detect or stop client sound from v_ZOMBIBOMB_GRENADE MODEL'S spk weapons/zid3.wav . Maybe we must use read_data(3) for detect weapons/zid3.wav sample for delete it from CLIENT USER'S CONSOLE ? . s_showsounds can show client's grenade model's spk /weapons/zid3.wav sound . Example : new DETECTCONSOLESOUNDS = read_data(3) if(equali(DETECTCONSOLESOUNDS,"weapons/zid3.wav") return PLUGIN_HANDLED. WHO can help to me for MUTE a wav sound ?


All times are GMT -4. The time now is 14:11.

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