Informacje o pliku
Opis:
Plugin umożliwia śledzenie i wywoływanie funkcji gdy gracze rozmawiają przez mikrofon na serwerze dzięki hookom. Uwaga, sam plugin nie ma żadnej funkcjonalności, ale dzięki niemu można budować inne pluginy ze względu na natywy i forwardy
Wymagania:
Dynamic Hooks
Natywy i Forwardy
/**
*
* Sprawdź czy klient w tym momencie rozmawia
*
* @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(client);
/**
*
* Wywoływane gdy klient zacznie rozmawiać
*
* @param client The index of the client that is speaking.
*
* @return True to allow the client to talk, false otherwise.
*
*/
forward bool:OnClientSpeakingEx(client);
/**
*
* Wywoływane gdy klient skończy rozmawiać
*
* @param client The index of the client.
*
* @noreturn
*
*/
forward OnClientSpeakingEnd(client);
Autor: Franc1sco