Raised This Month: $ Target: $400
 0% 

catching player using voice


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 03-10-2010 , 16:27   Re: catching player using voice
Reply With Quote #1

You can't just catch it, because it's handled client-side. I needed this before and I searched a lot, but I found nothing that could easily solve this problem.

Since server is transmitting data to clients, then it must be possible to detect it, but it probably requires messing with memory.

I found a way to detect when player press +voicerecord button (though it's not very good and clients can mess up results if they know how):
client cvar "voice_modenable" is always set to 1 when client press +voicerecord, so you can constantly query it and set it to 0 whenever query returns 1 (client just pressed +voicerecord), but I have no idea how to detect when client stops using it.
__________________
Impossible is Nothing
Sylwester is offline
Old 03-11-2010, 01:18
ConnorMcLeod
This message has been deleted by ConnorMcLeod.
Reply



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:51.


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