Raised This Month: $ Target: $400
 0% 

Getting the voice status of players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Blackhawk
Member
Join Date: Apr 2005
Old 01-17-2007 , 08:58   Getting the voice status of players
Reply With Quote #1

Hi,
I need some help in detecting if a user is currently speaking in voice, has muted someone and more interesting, if he have ever spoken to someone.
in voice_status.cpp (hlsdk), HL knows about some different possibilities for voice:
m_pScoreboardNeverSpoken -> Grey icon for Voice
m_pScoreboardNotSpeaking -> Yellow Icon for Voice
m_pScoreboardSpeaking -> Yellow Icon with one sound wave
m_pScoreboardSpeaking2 -> Yellow Icon with two sound waves
m_pScoreboardSquelch -> ?
m_pScoreboardBanned -> Muted

Im not sure about it, but i belive this is client side. My question is: Is there any way to get these statuses via amxx from the server?
__________________
Outpost 104 - last hope for teamplay
Blackhawk is offline
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 01-17-2007 , 11:59   Re: Getting the voice status of players
Reply With Quote #2

NO,voice are send only from client -> clients.It is handeld clientside.
You can only mute someone from server,or check if the player have mute someone.
http://forums.alliedmods.net/showthread.php?t=46009
__________________

Last edited by schnitzelmaker; 01-17-2007 at 12:17.
schnitzelmaker is offline
Blackhawk
Member
Join Date: Apr 2005
Old 01-17-2007 , 12:22   Re: Getting the voice status of players
Reply With Quote #3

Voice data is send through the server, ie the server processes at last some information. The server could know if someone has used voice, or for how long.

Can +voicerecord checked to see if someone is unsing it right now?
__________________
Outpost 104 - last hope for teamplay
Blackhawk is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-17-2007 , 19:24   Re: Getting the voice status of players
Reply With Quote #4

http://forums.alliedmods.net/showpos...18&postcount=4 -- You can't do it, sorry.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply


Thread Tools
Display Modes

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


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