Capture/Hook client voice chat on/off
Hi.
I am looking for a method to hook when a client(CS:S ideally), presses there voice chat button and releases. Any suggestions ? I would like to make a per-client voice time-limit plugin, and of course need to capture and time how long they have already spoken. |
Re: Capture/Hook client voice chat on/off
Found it
https://forums.alliedmods.net/showthread.php?p=2177167 -------- #include <voiceannounce_ex> public void OnClientSpeakingEx(int client) { // client is talking } public void OnClientSpeakingEnd(int client) { // client is stop talking } ------- |
Re: Capture/Hook client voice chat on/off
Those forwards are available in SM1.11 by default! We really need a new release I guess :D
https://github.com/alliedmodders/sourcemod/pull/1247 |
All times are GMT -4. The time now is 04:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.