Description:
Plugin for hook voice chat with a easy API for developers.
This plugin has become very popular so I decided to release it in a new topic for give it a better support and add my new version of this plugin that have
CS:GO support, a new native and some others changes.
Requeriments:
DHooks
Natives:
Code:
/**
*
* Checks whether a client is speaking or not.
*
* @param client The client index to check against.
*
* @error Client is not valid, ingame, or client is a bot.
*
* @return True if client is speaking, false otherwise.
*
*/
native bool IsClientSpeaking(int client);
/**
*
* Called while a client is speaking.
*
* @param client Client index.
*
* @noreturn
*
*/
forward void OnClientSpeakingEx(int client);
/**
*
* Called when a client ends speaking.
*
* @param client Client index.
*
* @noreturn
*
*/
forward void OnClientSpeakingEnd(int client);
Plugins that currently use this API:
Voice Amount Anti-lag
Jail Captain
TF2Jail
Credits:
GoD-Tony - for the compatibily with CSS, TF2 and l4d2
Mini - For make code that implement it with natives
Donations (optional):
If you apreciate my work, you can donate me via
paypal or with a
trade offer
Download:
Main repository
Direct download
Code changes
__________________