forked from UNLOZE/sm-plugins
SelfMute: add support for new voice extension IsClientTalking
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#if defined _voice_included
|
||||
#endinput
|
||||
#endif
|
||||
#define _voice_included
|
||||
|
||||
native bool IsClientTalking(int client);
|
||||
|
||||
/**
|
||||
* Do not edit below this line!
|
||||
*/
|
||||
public Extension __ext_voice =
|
||||
{
|
||||
name = "Voice",
|
||||
file = "Voice.ext",
|
||||
#if defined AUTOLOAD_EXTENSIONS
|
||||
autoload = 1,
|
||||
#else
|
||||
autoload = 0,
|
||||
#endif
|
||||
#if defined REQUIRE_EXTENSIONS
|
||||
required = 1,
|
||||
#else
|
||||
required = 0,
|
||||
#endif
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_EXTENSIONS
|
||||
public __ext_voice_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("IsClientTalking");
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user