- Ошибка
-
ошибки лог нету
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5263 (http://www.amxmodx.org)
- Билд
-
ReHLDS version: 3.8.0.702-dev
Build date: 18:22:55 Nov 8 2020 (2402)
Build from: https://github.com/dreamstalker/rehlds/commit/543728d
- ReGamedll
-
ReGameDLL version: 5.20.0.492-dev
- Версия Metamod
-
Metamod-r v1.3.0.128, API (5:13)
- Список метамодулей
-
[ 1] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5263 ini Start ANY
[ 2] Reunion RUN - reunion_mm_i386.so v0.1.92d ini Start Never
[ 3] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 4] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 5] POD-Bot mm RUN - podbot_mm_i386.so vV3B22b ini Chlvl ANY
[ 6] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC5 ini ANY ANY
[ 7] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 8] Fun RUN - fun_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[ 9] Engine RUN - engine_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[10] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[11] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[12] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[13] CSX RUN - csx_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[14] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[15] ReAPI RUN - reapi_amxx_i386.so v5.18.0.203-dev pl1 ANY Never
[16] MySQL RUN - mysql_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[17] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl1 ANY Never
[18] CSDM2 RUN - csdm_amxx_i386.so v2.1.3c-KWo pl1 ANY ANY
- Список плагинов
-
[ 1] CSDM Auto Balance 1.0 xPaw csdm_auto_balan running
[ 2] Vip Test 1.0 daywer vip_test.amxx running
[ 3] Money Rewards 1.0.1 the_hunter money_rewards.a running
[ 4] Anti-Ad 0.1 Mati antiad.amxx running
[ 5] MapConfigX 1.1 AdaskoMX mapconfigx.amxx running
[ 6] AMXBans: Screens Gm 1.6 Larte Team amxbans_ssban.a running
[ 7] AMXBans: Main Gm 1.6 Larte Team amxbans_main.am debug
[ 8] AMXBans: Freeze Gm 1.6 Larte Team amxbans_freeze. running
[ 9] AMXBans: Core Gm 1.6 Larte Team amxbans_core.am running
[ 10] AMXBans: Flagged Gm 1.6 Larte Team amxbans_flagged running
[ 11] AES: Informer 0.5 Vega serfreeman1337 aes_informer.am running
[ 12] Stats Configuration 1.9.0.5263 AMXX Dev Team statscfg.amxx running
[ 13] AES: CStrike Addon 0.5 Vega serfreeman1337 aes_exp_cstrike running
[ 14] Advanced Experience Sy 0.5 Vega serfreeman1337 aes_main.amxx running
[ 15] AES: StatsX 0.5 Vega serfreeman1337 aes_statsx_cstr running
[ 16] Prefix Manager 0.1 serfreeman1337 prefixManager.a running
[ 17] Hide Slash Commands 1.0.0 Kreation +mod.le SymbolChat.amxx running
[ 18] Steam Models 0.1b+mod.l Freedo.m steam_models.am running
[ 19] Afk Control 0.4 Stable Freedo.m | neygo afk_control.amx running
[ 20] Admin Spectator ESP 1.3 KoST admin_spec_esp. running
[ 21] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 22] Admin Commands 1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 23] Admin Help 1.9.0.5263 AMXX Dev Team adminhelp.amxx running
[ 24] Slots Reservation 1.9.0.5263 AMXX Dev Team adminslots.amxx running
[ 25] Multi-Lingual System 1.9.0.5263 AMXX Dev Team multilingual.am running
[ 26] Menus Front-End 1.9.0.5263 AMXX Dev Team menufront.amxx running
[ 27] Commands Menu 1.9.0.5263 AMXX Dev Team cmdmenu.amxx running
[ 28] Players Menu 1.9.0.5271 AMXX Dev Team plmenu.amxx running
[ 29] Teleport Menu 1.9.0.5263 AMXX Dev Team telemenu.amxx running
[ 30] Plugin Menu 1.9.0.5263 AMXX Dev Team pluginmenu.amxx running
[ 31] Admin Chat 1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 32] Anti Flood 1.9.0.5263 AMXX Dev Team antiflood.amxx running
[ 33] Scrolling Message 1.9.0.5263 AMXX Dev Team scrollmsg.amxx running
[ 34] Info. Messages 1.9.0.5263 AMXX Dev Team imessage.amxx running
[ 35] Admin Votes 1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 36] TimeLeft 1.9.0.5263 AMXX Dev Team timeleft.amxx running
[ 37] CS Shop 5.0 iNeedHelp CS_Shop_n.amxx running
[ 38] MoneyTransfer 0.3 ZETA [M|E|N] money_transfer_ running
[ 39] Admin Rich 1.0 Emilioneri admin_rich_with debug
[ 40] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 41] Reset Score 1.0 Silenttt resetscore.amxx running
[ 42] Weapon Menu 1.0 Mattcook & xerob weaponmenu_rus. running
[ 43] GunGame AMMO 2.2 Prayer gg_ammo.amxx running
[ 44] Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
[ 45] Super Bunny Hopper 1.2 Cheesy Peteza bhop.amxx running
[ 46] Bullet Damage 0.0.1 ConnorMcLeod bullet_damage.a running
[ 47] MultiJump 1.1 Solo[59rus] multijump_with_ running
[ 48] Vampire 1.0c Shalfey vampire3+vip.am running
[ 49] Grenade Trail 1.0 Jim grenade_trail.a running
[ 50] Sentry CSDM Menu 1.0 sap273 amx_sentry_menu running
[ 51] Sentry CSDM Menu 1.0 sap273 amx_sentry_menu running
[ 52] AMX Admin Model 1.1.1 whitemike amx_adminmodel. running
[ 53] Blue Fade 0.1 Stimul Blue_Fade.amxx running
[ 54] Golden Ak 47 1.0 AlejandroSk GoldenAk_ul.amx running
[ 55] Automatic Unstuck 1.5 NL)Ramon(NL stuck.amxx running
[ 56] CSDM Spec 1.0 miRror spec_switch.amx running
[ 57] SF TripMine 0.3.4 serfreeman1337 sfTripMine_FIX_ running
[ 58] DeagsMapManager 3.25Beta Deags/AMXX Commu deagsmapmanager running
[ 59] Maps Menu 1.9.0.5263 AMXX Dev Team mapsmenu.amxx running
[ 60] Golden M4A1 1.0 Alicx DarK GoldenM4a1_ul.a running
[ 61] VIP CSDM 1.0 Godzilla csdm_vipmenu_27 running
[ 62] Unlimited Clip v 1.0 Sap unlimited_clip_ running
[ 63] Kill Rewards 1.4 HoLLyWooD kill_rewards.am running
[ 64] WalkGuard 1.3.2 mogel walkguard.amxx running
[ 65] Knife Scratch 1.0 PahanCS KnifeScratch.am running
[ 66] All Chat 1.1 Ian Cammarata allchat.amxx running
[ 67] No Radio Flood 1.1 Starsailor no_radio_flood. running
[ 68] Unlimited Team Changes 1.3 HamletEagle unlimited_teamc running
[ 69] silentnades 1.0 regalis silent_nades.am running
[ 70] Test dhud_message_te running
[ 71] effect day/night 1.3 Destro day_night.amxx running
[ 72] Block name change 1.0 grankee changename.amxx running
[ 73] Unlimited Money 2.0 NL)Ramon(NL unlimited_money running
[ 74] Sentry guns 1.1 JGHG & miRror sentryguns_2000 running
[ 75] Connect Exec 1.0 AleX connect_exec.am running
[ 76] Knife Double Frags 0.3 Rul4 kdf_ul.amxx running
[ 77] Golden AWP 1.1 Anonymousstar goldenawp_ul.am running
[ 78] Auto recording demo 2.0 IzI | Bonaqua (R amx_autodemorec running
[ 79] plugin_trail 1.3.1 Bahrmanou plugin_trail.am running
[ 80] Change Team 1.1 neygomon & Alien changeteam.amxx running
[ 81] x x x map.amxx running
[ 82] say /motd 1.1 Pa1n say_motd.amxx running
[ 83] AntiFlash FINAL 5.0 Leo_[BH] antiflash5.amxx running
[ 84] ReChecker Logging 1.0 custom rc_logging.amxx running
[ 85] Golden Deagle 1.6 AlejandroSk deaglegold_ul.a running
[ 86] Game Namer 1.1 NeuroToxin gamenamechanger running
[ 87] Ultimate Chats Control 5.2(c) neygomon ucc.amxx running
[ 88] UCC Addon: VoteGAG 1.2 neygomon ucc_votegag.amx running
[ 89] Build Dispenser 1.0.5 tuty csdm_dispenser_ running
[ 90] MG Grab 1.0 Nickron mg_grab.amxx running
[ 91] Black Smoke 1.0 xPaw, Justick colored_smoke.a running
[ 92] Player Status 1.0 Player Status csdm_hp.amxx running
[ 93] Weapon Model + Sound R 1.2 GHW_Chronic GHW_Weapon_Repl running
[ 94] Custom Radio Commands 0.6 KaLoSZyFeR custom_radio.am running
[ 95] All Info 1.4 Rockon allinfo.amxx running
[ 96] Spectator Hud Informat 0.0.1 ConnorMcLeod spec_hud_info.a running
[ 97] Plugin 1.0 ~D4rkSiD3Rs~ admins_speed.am running
[ 98] Auto VIP [STEAM] 1.1 ArtHa auto_steam_vip. running
[ 99] CSDM Main 3.6 CSDM Team csdm_main.amxx running
[100] ReCSDM Equip 3.6 ReCSDM Team csdm_equip.amxx debug
[101] CSDM Spawns 3.6 CSDM Team csdm_spawn_pres running
[102] CSDM Misc 3.6 CSDM Team csdm_misc.amxx running
[103] CSDM Protection 3.6 BAILOPAN csdm_protection running
[104] CSDM Item Mode 2.1.3d FALUCO & KWo & S csdm_itemmode.a debug
- Автор плагина
- xPaw
- Версия плагина
- 1.0
- Исходный код
-
#include < amxmodx >
#include < cstrike >
#include < csdm >
#define BALANCE_IMMUNITY ADMIN_IMMUNITY
/*
csdm_auto_balance
- 0: Disabled
- 1: Enabled
- 2: Enabled, obey immunity
*/
new bool:g_bConnected[ 33 ], bool:g_bImmunity[ 33 ], CsTeams:g_iNewTeam[ 33 ];
new g_pCvar, g_iMaxPlayers, g_iMsgSayText, g_iMsgScreenFade, g_iPlayers;
public plugin_init( ) {
register_plugin( "CSDM Auto Balance", "1.0", "xPaw" );
g_pCvar = register_cvar( "csdm_auto_balance", "2" );
g_iMsgScreenFade = get_user_msgid( "ScreenFade" );
g_iMsgSayText = get_user_msgid( "SayText" );
g_iMaxPlayers = get_maxplayers( );
}
public client_authorized( id )
g_bImmunity[ id ] = bool:( get_user_flags( id ) & BALANCE_IMMUNITY );
public client_putinserver( id ) {
g_bConnected[ id ] = true; // bool:!is_user_bot( id );
g_iPlayers++;
}
public client_disconnect( id ) {
g_iNewTeam[ id ] = CS_TEAM_UNASSIGNED;
g_bImmunity[ id ] = false;
g_bConnected[ id ] = false;
g_iPlayers--;
}
public csdm_PostDeath( iKiller, id, bHeadShot, const szWeapon[ ] ) {
if( g_iPlayers < 4 || iKiller == id || !g_bConnected[ id ] )
return;
new iCvar = get_pcvar_num( g_pCvar );
if( iCvar <= 0 || iCvar == 2 && g_bImmunity[ id ] )
return;
new iPlayers[ 2 ];
for( new i = 1; i <= g_iMaxPlayers; i++ ) {
if( !g_bConnected[ i ] )
continue;
switch( cs_get_user_team( i ) ) {
case CS_TEAM_T: iPlayers[ 0 ]++;
case CS_TEAM_CT: iPlayers[ 1 ]++;
}
}
new CsTeams:iCheck, iDifference = iPlayers[ 1 ] - iPlayers[ 0 ];
if( iDifference > 0 )
iCheck = CS_TEAM_T;
else if( iDifference < 0 )
iCheck = CS_TEAM_CT;
else
return;
if( abs( iDifference ) < 2 || cs_get_user_team( id ) == iCheck )
return;
cs_set_user_team( id, iCheck );
new szName[ 32 ];
get_user_name( id, szName, 31 );
UTIL_GreenPrintAll( id, "^4[CSDM]^3 %s^1 перемещен за^3 %s^1.", szName,
iCheck == CS_TEAM_T ? "Terrorists" : "Counter-Terrorists" );
g_iNewTeam[ id ] = iCheck;
}
public csdm_PostSpawn( id, bool:bFake ) {
new CsTeams:iNewTeam = g_iNewTeam[ id ];
if( iNewTeam > CS_TEAM_UNASSIGNED ) {
g_iNewTeam[ id ] = CS_TEAM_UNASSIGNED;
set_hudmessage( 0, 127, 255, 0.42, 0.53, 2, 6.0, 4.0, 0.1, 0.2, -1 );
show_hudmessage( id, "Вас перебросило за %s!", iNewTeam == CS_TEAM_T ? "Terrorists" : "Counter-Terrorists" );
UTIL_ScreenFade( id, iNewTeam == CS_TEAM_T ? 175 : 0, 0, iNewTeam == CS_TEAM_CT ? 175 : 0 );
}
}
UTIL_GreenPrintAll( const iSender, const Message[ ], any:... ) {
new szMessage[ 192 ];
vformat( szMessage, 191, Message, 3 );
message_begin( MSG_BROADCAST, g_iMsgSayText );
write_byte( iSender );
write_string( szMessage );
message_end( );
}
UTIL_ScreenFade( const id, const iRed, const iGreen, const iBlue ) {
message_begin( MSG_ONE_UNRELIABLE, g_iMsgScreenFade, _, id );
write_short( 2000 );
write_short( 2000 );
write_short( 0 );
write_byte( iRed );
write_byte( iGreen );
write_byte( iBlue );
write_byte( 175 );
message_end( );
}
здравствуйте нужно помощь не работает иммунитет админов все равно перекидывает как обычный игроков
В этой теме было размещено решение! Перейти к решению.