Raised This Month: $ Target: $400
 0% 

[May Be a Bug]set_client_listen do not work if sv_alltalk=1


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
larnk
Member
Join Date: Dec 2004
Old 01-19-2005 , 07:35   [May Be a Bug]set_client_listen do not work if sv_alltalk=1
Reply With Quote #1

I wrote such code
Code:
#include <amxmodx> #include <engine> #include <cstrike> #include <fun> #include <amxmisc> public plugin_init(){     register_plugin("Voice Comm Control","0.0.1","Zhao")     register_event("DeathMsg","eDeathMsg","a") } public eDeathMsg(){     new victim=read_data(2)     remove_voice_from_alive(victim) } public remove_voice_from_alive(victim){         new players[32],playerscount         get_players(players,playerscount,"a")         for(new i=0;i<playerscount;i++){             set_client_listen(players[i],victim,0)         } }

When sv_alltalk is setted to 0. set_client_listen works well. the alive players can not hear voice of dead teammate.

But if sv_alltalk is setted to 1. alive players still can hear voice of the dead players..

I consider that it's the bug of set_client_listen.

Is there any develpor team support can help me?
larnk 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 19:29.


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