2
0
mirror of https://github.com/rehlds/reapi.git synced 2025-03-13 14:00:19 +03:00
s1lent 23fe1507a1
Add natives rg_set_user_ammo, rg_get_user_ammo, rg_give_custom_item, set_rebuy, get_rebuy
Add all the members weapons, also CMapInfo, RebuyStruct, CGrenade
Add hookchain StartDeathCam
Cosmetic changes
Update regamedll API 5.3
2017-09-28 04:12:09 +07:00

72 lines
1.3 KiB
PHP

#if defined _reapi_vtc_included
#endinput
#endif
#define _reapi_vtc_included
/*
* Checks whether the player is talking at the moment.
*
* @param index Client index
*
* @return true if client is speaking, false otherwise
*/
native bool:VTC_IsClientSpeaking(const index);
/*
* Mutes the player.
*
* @param index Client index
*
* @noreturn
*/
native VTC_MuteClient(const index);
/*
* Unmutes the player.
*
* @param index Client index
*
* @noreturn
*/
native VTC_UnmuteClient(const index);
/*
* Checks whether the player is muted at the moment.
*
* @param index Client index
*
* @return true if client is muted, false otherwise
*/
native bool:VTC_IsClientMuted(const index);
/*
* Play the audio file via the voice stream.
*
* @param receiver Receiver index
* @param soundFilePath The path to the sound file
*
* @note Usage example:
* VTC_PlaySound(id, "sound/ambience/Opera.wav");
*
* @noreturn
*/
native VTC_PlaySound(const receiver, const soundFilePath[]);
/*
* Called when the player started talking.
*
* @param index Client index
*
* @noreturn
*/
forward VTC_OnClientStartSpeak(const index);
/*
* Called when the player stopped talking.
*
* @param index Client index
*
* @noreturn
*/
forward VTC_OnClientStopSpeak(const index);