Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
- Ошибка
-
Фото прикреп.
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5221 (http://www.amxmodx.org)
Compiled: Sep 20 2018 15:06:02
Built from: https://github.com/alliedmodders/amxmodx/commit/e059c1f
Build ID: 5221:e059c1f
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.4.0.664-dev
Build date: 10:46:45 Sep 19 2018 (1621)
Build from: https://github.com/dreamstalker/rehlds/commit/83f53fb
- ReGamedll
-
ReGameDLL version: 5.7.0.313-dev
Build date: 08:39:22 Sep 9 2018
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/e924a26
- Версия Metamod
-
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
- Список метамодулей
-
[ 1] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC3 ini ANY ANY
[ 2] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5221 ini Start ANY
[ 3] Reunion RUN - reunion_mm_i386.so v0.1.0.92 ini Start Never
[ 4] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 5] WHBlocker RUN - whblocker_mm_i386.so v1.5.695 ini Chlvl ANY
[ 6] SoftBlocker RUN - softblocker_mm_i386.so v1.1g ini ANY Never
[ 7] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 8] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 9] ReAPI RUN - reapi_amxx_i386.so v5.6.0.158-dev pl2 ANY Never
[10] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5221 pl2 ANY ANY
[11] CSX RUN - csx_amxx_i386.so v1.9.0.5221 pl2 ANY ANY
[12] Fun RUN - fun_amxx_i386.so v1.9.0.5221 pl2 ANY ANY
[13] Engine RUN - engine_amxx_i386.so v1.9.0.5221 pl2 ANY ANY
[14] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5221 pl2 ANY ANY
[15] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl2 ANY Never
[16] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5221 pl2 ANY ANY
[17] MySQL RUN - mysql_amxx_i386.so v1.9.0.5221 pl2 ANY ANY
- Список плагинов
-
[ 1] AMXBans Core 6.13 YamiKaitou amxbans_core.am running
[ 2] AMXBans Main 6.13 mod.l YamiKaitou amxbans_main.am debug
[ 3] Admin Commands 1.9.0.5221 AMXX Dev Team admincmd.amxx running
[ 4] Slots Reservation 1.2 pUzzlik admin_slots.amx running
[ 5] Menus Front-End 1.9.0.5221 AMXX Dev Team menufront.amxx running
[ 6] Commands Menu 1.9.0.5221 AMXX Dev Team cmdmenu.amxx running
[ 7] Players Menu 1.9.0.5221 AMXX Dev Team plmenu.amxx running
[ 8] Maps Menu 1.9.0.5221 AMXX Dev Team mapsmenu.amxx running
[ 9] Plugin Menu 1.9.0.5221 AMXX Dev Team pluginmenu.amxx running
[ 10] Admin Chat 1.9.0.5221 AMXX Dev Team adminchat.amxx running
[ 11] Lite Translit 2.8 neygomon lite_translit_c debug
[ 12] Anti Flood 1.9.0.5221 AMXX Dev Team antiflood.amxx running
[ 13] Admin Votes 1.9.0.5221 AMXX Dev Team adminvote.amxx running
[ 14] Pause Plugins 1.9.0.5221 AMXX Dev Team pausecfg.amxx running
[ 15] Stats Configuration 1.9.0.5221 AMXX Dev Team statscfg.amxx running
[ 16] Restrict Weapons 1.9.0.5221 AMXX Dev Team restmenu.amxx running
[ 17] CSStatsX SQL 0.7.4 serfreeman1337 csstatsx_sql.am running
[ 18] AES: StatsX 0.5 Vega serfreeman1337 aes_statsx_cstr running
[ 19] [ReAPI] Top Awards 1.0 Dom1no_[KZ] Re_top_awards.a running
[ 20] StatsX 1.9.0.5221 AMXX Dev Team statsx.amxx running
[ 21] Announcer Killstreak 2.0 Jumper & mx?! killsound.amxx running
[ 22] [ReAPI] Admin Models 0.0.2 Vaqtincha reapi_adminvipm running
[ 23] Smoke: HealthNade 0.0.3 wopox1337 smkhlndvip.amxx running
[ 24] [ReAPI]No Team Flash 1.0 ReHLDS Team notmflashvip.am running
[ 25] molodejj_damager 1.1 sector damagervipz.amx debug
[ 26] [ReAPI] AimEspFix VIP 1.0 ? fix_vip_tab.amx running
[ 27] Masofke.eu Signed Scre 1.0 ThE_ChOSeN_OnE msfk_snapshot.a running
[ 28] Show Motd 0.1 unnamed motdpriv.amxx running
[ 29] [ReAPI] Best player of 0.6 F@nt0M best_player_of_ running
[ 30] Advanced Gag 1.9.0 neygomon amx_gag.amxx running
[ 31] AFK Control 1.4.1 [Rnd neygomon afk_control.amx running
[ 32] Random Skies 1.1 tuty randomskies.amx running
[ 33] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 34] Knife warmup 0.1 Subb98 knife_warmup.am debug
[ 35] Auto Demo Recorder 2.2.1 F@nt0M demo_recorder.a running
[ 36] Radio Hudmsg Block 1.0 AcE radiohudmsgbloc running
[ 37] Adverts 1.0 pUzzlik adverts_message running
[ 38] Dead Messages 2.0 maFFyoZZyk dead.amxx debug
[ 39] Music Connect 1.1 Leo_[BH] music_connect.a running
[ 40] Real Damage [ReApi] 2.0 Leo_[BH] real_damage.amx running
[ 41] unknown unknown unknown ShowChangerName running
[ 42] [ReAPI] AWPoff 1.4.3 PAffAEJIkA :3 awp_off.amxx running
[ 43] [ReAPI] AdminFreeLook 1.0 ReHLDS Team adminfreelook.a running
[ 44] Rat Bomb 1.0 Seroff mfsc4mdl.amxx running
[ 45] C4 Timer 0.1 Lightman bombtimer.amxx running
[ 46] resetscore(ReAPI) 1.0 Phantom resetscore.amxx running
[ 47] Killer ScreenFade 0.0.5 Vaqtincha reapi_killer_sc running
[ 48] unknown unknown unknown mg_sound.amxx running
[ 49] AFK Bomb Transfer 0.4 VEN afkbombtransfer running
[ 50] Map Manager: Core 3.0.0 Mistrick map_manager_cor running
[ 51] Map Manager: Scheduler 0.1.0 Mistrick map_manager_sch running
[ 52] Map Manager: Rtv 0.0.4 Mistrick map_manager_rtv running
[ 53] Map Manager: Nominatio 0.0.8 Mistrick map_manager_nom running
[ 54] Map Manager: BlockList 0.0.3 Mistrick map_manager_blo running
[ 55] Map Manager: Online so 0.0.2 Mistrick map_manager_onl running
[ 56] Map Manager: Effects 0.0.8 Mistrick map_manager_eff running
[ 57] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
[ 58] Map Manager: Advanced 0.0.4 Mistrick map_manager_adv running
[ 59] [ReVIP] System Core 2.5 free pUzzlik re_vip_core.amx running
[ 60] [ReVIP] Menu 2.5 free pUzzlik re_vip_menu.amx running
[ 61] [ReVIP] Connected Info 2.5 free pUzzlik re_vip_connect_ running
[ 62] [ReVIP] Tab Info 2.5 free pUzzlik re_vip_tab_info running
[ 63] [ReVIP] Add HP 2.5 free pUzzlik re_vip_hp_add.a running
[ 64] Advanced Experience Sy 0.5 Vega serfreeman1337 aes_main.amxx running
[ 65] AES: CStrike Addon 0.5 Vega serfreeman1337 aes_exp_cstrike running
- Автор плагина
- Domino Kz.
- Версия плагина
- 1.0
- Исходный код
-
#include <amxmodx>
#include <reapi>
#include <csx>
#if AMXX_VERSION_NUM < 183
#include <colorchat>
#define client_disconnected client_disconnect
#endif
/* SETTINGS */
#define IGNORE_FLAGS "t"
// Игнорируемые флаги
// Закомментировать, если не нужно игнорируемые флаги
#define TIME 1.0
// Каждые n секунды проверить статистику игрока
#define MAX_AWARDS 254
// Максимальная кол-во наград
/* DICTIONARY */
#define TOP_CHAT_MESSAGE "^1[^4Top Awards^1] Вы ^3поднялись на %d ^1место. Бонусные флаги: ^4%s"
// Закомментировать, если не нужно сообщение при поднятие место
#define NO_TOP_CHAT_MESSAGE "^1[^4Top Awards^1] Вы ^3опустились на %d ^1место. ^3Нет бонусных флагов"
// Закомментировать, если не нужно сообщение при понижение место
/* Do not touch arrays */
new bool:GiveAward[33];
enum _:DATA { FLAGS[32] };
new g_arrAwardData[MAX_AWARDS][DATA], g_iDataSize = 1;
public plugin_init()
{
register_plugin("[ReAPI] Top Awards", "1.0", "Dom1no_[KZ]")
RegisterHookChain(RG_CBasePlayer_Spawn, "client_player_spawn", true);
}
public plugin_cfg()
{
new szPath[64];
get_localinfo("amxx_configsdir", szPath, charsmax(szPath));
add(szPath, charsmax(szPath), "/top_awards.ini");
new iFile = fopen(szPath, "rt");
if(!iFile)
{
new szError[96];
formatex(szError, charsmax(szError), "File '%s' not found OR incorrect CHMOD!", szPath);
set_fail_state(szError);
}
new szBuffer[MAX_AWARDS];
while(!feof(iFile))
{
fgets(iFile, szBuffer, charsmax(szBuffer));
trim(szBuffer);
if(!szBuffer[0] || szBuffer[0] == ';')
continue;
if(parse(szBuffer,
g_arrAwardData[g_iDataSize][FLAGS], charsmax(g_arrAwardData[][FLAGS])
) == 1) g_iDataSize++;
}
fclose(iFile);
}
public client_putinserver(id) GiveAward[id] = false;
public client_disconnected(id) GiveAward[id] = false;
public client_player_spawn(id) set_task(TIME, "ItemAwards", id)
public ItemAwards(id)
{
#if defined IGNORE_FLAGS
if(!GiveAward[id] && get_user_flags(id) & read_flags(IGNORE_FLAGS))
return
#endif
new szStats[8];
new iRank = get_user_stats(id, szStats, szStats);
if(iRank < g_iDataSize)
{
if(~get_user_flags(id) & read_flags(g_arrAwardData[iRank][FLAGS]))
{
set_user_flags(id, read_flags(g_arrAwardData[iRank][FLAGS]))
#if defined TOP_CHAT_MESSAGE
ColorChat(id, NORMAL, TOP_CHAT_MESSAGE, iRank, g_arrAwardData[iRank][FLAGS]);
#endif
GiveAward[id] = true;
}
}
else
{
remove_user_flags(id);
#if defined NO_TOP_CHAT_MESSAGE
ColorChat(id, NORMAL, NO_TOP_CHAT_MESSAGE, iRank);
#endif
GiveAward[id] = false;
}
}
Подскажите где что удолить - заменить чтобы без colorchat.inc работал и чтоб цветное собщение осталось ,))?
В этой теме было размещено решение! Перейти к решению.
Вложения
-
18.7 KB Просмотры: 248