Raised This Month: $ Target: $400
 0% 

Create a VoiceMask?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 10-16-2006 , 15:30   Create a VoiceMask?
Reply With Quote #1

Gentlemen, I have a way of blocking the voice icon from showing up above players heads. I know many said it could not be done because it's client sided, etc. But I did it.

It's not as efficient as just, say, blocking a message, but the point is it works and it's a trail.

Using my Voice Proximity plugin, which sets SetClientListening to 1 when you are standing near someone, you mute that person in the player list. Then when they talk, their name still shows up and you hear them (due to SetClientListening) but their speaker icon does not show up above their head.

Bingo.

But my question is how can I create the VoiceMask that replicates "everyone on the other team is muted, but everyone on my team is not muted"?

Code:
message_begin(MSG_ONE, get_user_msgid("VoiceMask"), {0,0,0}, id); write_long(); // Bitmask of who client is listening to write_long(); // Bitmask of who client is blocking message_end();

I have to do a test of who is on the client's team and who isn't, then add them to each appropriate bitmask (33 line array)

The problem is I can't even get it to work regardless of the team.
I tried sending a message where the first arg was 0 and the second arg was 4294967295 (block everyone), but that didn't even block them.

Any idea what I'm doing wrong here?
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
 



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 04:54.


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