Raised This Month: $51 Target: $400
 12% 

How to detectd player use "+voicerecord" on CS:GO


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 06-30-2014 , 06:56   How to detectd player use "+voicerecord" on CS:GO
Reply With Quote #1

how to detect when a player click "+voicerecord", I have confused on this problem so long. Also i have search on the forum for many times. But I think there should be a function in the engine will send player voice data to another player on CS:GO, so can some one tell me which one. I'm a AMXX coder, and a newbie on SourceMod.

PS:"voiceannounce.sp" isn't work because the address of CGameClient:: ProcessVoiceData could not be found at engine library
__________________
QQ:116268742

Last edited by K.K.Lv; 06-30-2014 at 06:57.
K.K.Lv is offline
Send a message via MSN to K.K.Lv
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-01-2014 , 03:45   Re: How to detectd player use "+voicerecord" on CS:GO
Reply With Quote #2

Quote:
Originally Posted by K.K.Lv View Post
PS:"voiceannounce.sp" isn't work because the address of CGameClient:: ProcessVoiceData could not be found at engine library
Exactly ProcessVoiceData could not be found at engine library but I found a substitute for that function in CS: GO called CBasePlayer::OnVoiceTransmit()

I incorporated that function to the plugin for add CS:GO support to the voicehook plugin
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
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 04:44.


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