- Ошибка
-
Admin Voice Chat все слышат всех
- ОС
- Windows
- Amx Mod X
-
1.9.0
- Билд
-
ReHLDS version: 3.8.0.704-dev
- ReGamedll
-
Установлен ReHLDS версии: 3.8.0.704
- Версия Metamod
-
re.1.3.xx
- Список метамодулей
-
meta list
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] Placeholders disabler RUN - plfix_mm_i386.so v0.0.3 ini Start Never
[ 2] Reunion RUN - reunion.so v0.1.0.137 ini Start Never
[ 3] AMX Mod X RUN - amxmodx.so v1.9.0.5263 ini Start ANY
[ 4] Revoice RUN - revoice.so v0.1.0.34 ini Start Never
[ 5] WHBlocker RUN - whblocker.so v1.5.697 ini ANY
[ 6] VoiceTranscoder RUN - vtc.so v2017RC5 ini ANY
[ 7] ReSemiclip RUN - resemiclip.so v2.3.9 ini ANY
[ 8] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5263 pl3 ANY
[ 9] CSX RUN - csx_amxx_i386.so v1.9.0.5263 pl3 ANY
[10] ReAPI RUN - reapi_amxx_i386.so v5.19.0.210-dev pl3 ANY Never
[11] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5263 pl3 ANY ANY
[12] MySQL RUN - mysql_amxx_i386.so v1.9.0.5263 pl3 ANY ANY
[13] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5263 pl3 ANY ANY
[14] Fun RUN - fun_amxx_i386.so v1.9.0.5263 pl3 ANY ANY
[15] Engine RUN - engine_amxx_i386.so v1.9.0.5263 pl3 ANY ANY
15 plugins, 15 running
- Список плагинов
-
amxx plugins
Currently loaded plugins:
name version author file status
[ 1] Admin Loader v3.5 neygomon admin_loader.am running
[ 2] FreshBans v1.4.2b kanagava fresh_bans.amxx running
[ 3] Admin Chat v1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 4] Admin Commands v1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 5] AES: StatsX v0.3 Beta serfreeman1337 aes_statsx_cstr running
[ 6] Anti Flood v1.9.0.5263 AMXX Dev Team antiflood.amxx running
[ 7] Commands Menu v1.9.0.5263 AMXX Dev Team cmdmenu.amxx running
[ 8] Info. Messages v1.9.0.5263 AMXX Dev Team imessage.amxx running
[ 9] Admin Voice Chat v0.2 mx?! admin_voice_cha running
[ 10] AmxModMenu v1.2 Sn1kO{Dmitriy.T) menufront.amxx running
[ 11] Maps Menu v1.9.0.5263 AMXX Dev Team mapsmenu.amxx running
[ 12] Mode 2x2 v2.5re s1lent mode.amxx running
[ 13] Players Menu v1.9.0.5263 AMXX Dev Team plmenu.amxx running
[ 14] Plugin Menu v1.9.0.5263 AMXX Dev Team pluginmenu.amxx running
[ 15] Restrict Weapons v1.8.2 Leo_[BH] restmenu.amxx running
[ 16] Scrolling Message v1.9.0.5263 AMXX Dev Team scrollmsg.amxx running
[ 17] Admin Votes v1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 18] CS Misc. Stats v1.9.0.5263 AMXX Dev Team miscstats.amxx running
[ 19] CS Stats Logging v1.9.0.5263 AMXX Dev Team stats_logging.a running
[ 20] Stats Configuration v1.9.0.5263 AMXX Dev Team statscfg.amxx running
[ 21] FM ResetScore v0.1 neygomon fm_resetscore.a running
[ 22] Parachute New v1.0 Csserv.Ru parachute_new.a running
[ 23] Advanced MapChooser v1.4 neygomon advanced_mapcho running
[ 24] Join IP Colored v1.1 Alternative join_ip_colored running
[ 25] WarmUP Pro v5.6 Beta Nohat. Dmitry warmuppro.amxx running
[ 26] AMXX Gag v1.4.9 xPaw & Exolent amx_gag.amxx running
[ 27] Lite Translit v2.8 neygomon lite_translit.a running
[ 28] [ReAPI] Info Killer v0.1 Jumper Info_Killer.amx running
[ 29] Demo Recorder v1.6 Sho0ter demorecorder.am running
[ 30] Crosshair Menu v1.2.3 KriTo & PurposeL crosshairmenu.a running
[ 31] AWPoff v4.0 PAffAEJIkA :3 awpoff.amxx running
[ 32] [ReAPI:AMXX] Buy Nades v0.0.3a Nohat. Dmitry amxx_buy_nades_ running
[ 33] Invisible Spectator v1.0 ReHLDS Team invisible_spect running
[ 34] SF Warn Menu v0.1.4f serfreeman1337 sf_admin_warns. running
[ 35] Death Sprite v1.0 DarkGL skull.amxx running
[ 36] Advanced Damager v2.0.0 iPlague damager_iplague running
[ 37] Autoresponder/Advertis v0.5 MaximusBrood ad_manager.amxx running
[ 38] Custom Flashlight v0.4.0 Nohat. Dmitry CustomFlashLigh running
[ 39] Players Count in Team v2.0 kramesa PlayersCountSel running
[ 40] Back Weapons v1.87 hoboman313/cheap backweapons.amx running
[ 41] mute v1.0 Aziz mute.amxx running
[ 42] AFK Control v1.4.1 [Rnd neygomon afk_control.amx running
[ 43] Steаm Bonus v2.0 Neugomon menu_steam.amxx running
[ 44] GameName Changer v1.0.0 Nordic Warrior gamename_change running
[ 45] unknown vunknown unknown proxy_vpn_check bad load
[ 46] Flash Sprite v0.3 Denzer & Garey flash_sprite.am running
[ 47] Ping Checker v26.0.1 RC1 h1k3 ping_checker.am running
[ 48] Advanced Experience Sy v0.4.1 serfreeman1337 aes_main.amxx running
[ 49] AES: Exp CSTRIKE v0.3 serfreeman1337 aes_exp_cstrike running
[ 50] AES: Informer v0.2 serfreeman1337 aes_informer.am running
[ 51] AES: Experience Editor v0.1 serfreeman1337 aes_exp_editor. running
( 45) Load fails: Plugin file open error (plugin "proxy_vpn_check.amxx")
51 plugins, 50 running
- Автор плагина
- BlackSignature
- Версия плагина
- 0.2
- Исходный код
-
#include <amxmodx>
#tryinclude <reapi>
#if !defined _reapi_included
#include <fakemeta>
#endif
#if AMXX_VERSION_NUM < 183
#define client_disconnected client_disconnect
#endif
const ACCESS_FLAG = ADMIN_BAN // 'd', флаг доступа к админ-связи, смотрите 'include/amxmodx_const.inc'
new g_iSpeakBitSum
public plugin_init() {
register_plugin("Admin Voice Chat", "0.2", "mx?!")
#if defined _reapi_included
RegisterHookChain(RG_CSGameRules_CanPlayerHearPlayer, "CanPlayerHearPlayer_Pre")
#else
register_forward(FM_Voice_SetClientListening, "OnSetClientListening_Pre")
#endif
register_clcmd("+adminvoice", "func_AdminVoiceOn")
register_clcmd("-adminvoice", "func_AdminVoiceOff")
}
#if defined _reapi_included
public CanPlayerHearPlayer_Pre(iReceiver, iSender) {
if(!IsSpeak(iSender)) {
return HC_CONTINUE
}
SetHookChainReturn(ATYPE_INTEGER, (get_user_flags(iReceiver) & ACCESS_FLAG) ? true : false)
return HC_SUPERCEDE
}
#else
public OnSetClientListening_Pre(iReceiver, iSender, bool:bCanHear) {
if(!IsSpeak(iSender)) {
return FMRES_IGNORED
}
engfunc(EngFunc_SetClientListening, iReceiver, iSender, (get_user_flags(iReceiver) & ACCESS_FLAG) ? true : false)
return FMRES_SUPERCEDE
}
#endif
public func_AdminVoiceOn(id) {
if((get_user_flags(id) & ACCESS_FLAG) && !IsSpeak(id)) {
SetSpeak(id)
client_cmd(id, "+voicerecord")
}
return PLUGIN_HANDLED
}
public func_AdminVoiceOff(id) {
if((get_user_flags(id) & ACCESS_FLAG) && IsSpeak(id)) {
ClearSpeak(id)
client_cmd(id, "-voicerecord")
}
return PLUGIN_HANDLED
}
public client_disconnected(id) {
ClearSpeak(id)
}
stock SetSpeak(id) (g_iSpeakBitSum |= (1 << id))
stock IsSpeak(id) return (g_iSpeakBitSum & (1 << id))
stock ClearSpeak(id) (g_iSpeakBitSum &= ~(1 << id))
У меня почему-то все слышат всех, помогите пж
В этой теме было размещено решение! Перейти к решению.