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

[ANY] VoiceHook


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 02-18-2016 , 10:18   [ANY] VoiceHook
Reply With Quote #1

This extension adds a function of capture events the player who at the moment speak.

Functions:
Code:
/**
 * Called when a client is speaking.
 *
 * @param client        Client index.
 */
forward void OnClientSpeaking(int client);

/**
 * Called once a client speaking end.
 *
 * @param client        Client index.
 */
forward void OnClientSpeakingEnd(int client);

/**
 * Called once a client speaking start.
 *
 * @param client        Client index.
 */
forward void OnClientSpeakingStart(int client);

/**
 * Returns if a certain player is speaking.
 *
 * @param client        Client index.
 * @return              True if player is speaking, false otherwise.
 * @error               Invalid client index.
 */
native bool IsClientSpeaking(int client);
https://github.com/Accelerator74/VoiceHook

Last edited by Accelerator; 11-06-2019 at 11:01.
Accelerator is offline
 



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 09:11.


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