Жоро Филипов
Пользователь
- Регистрация
- 12 Янв 2020
- Сообщения
- 15
- Симпатии
- 0
- Предупреждения
- 30
- OS
- Linux
- Amx Mod X
- AMXX 1.9.0
- Билд
- Protocol version 48 Exe version 1.1.2.7/Stdio (cstrike) ReHLDS version: 3.10.0.761-dev
- ReGamedll
- ReGameDLL version: 5.21.0.534-dev
- Metamod
- Metamod-r v1.3.0.128, API (5:13)
- Meta модули
-
Код:[ 1] Reunion RUN - reunion_mm_i386.so v0.1.92d ini Start Never
[ 2] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 3] Rechecker RUN - rechecker_mm_i386.so v2.7 ini Chlvl ANY
[ 4] Revoice RUN - revoice_mm_i386.so v0.1.0.32 ini Start Never
[ 5] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5263 ini Start ANY
[ 6] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 7] WHBlocker RUN - whblocker_mm_i386.so v1.5.695 ini Chlvl ANY
[ 8] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 9] YaPB RUN - yapb.so v4.2.598 ini Chlvl ANY
[10] Fun RUN - fun_amxx_i386.so v1.9.0.5263 pl5 ANY ANY
[11] Engine RUN - engine_amxx_i386.so v1.9.0.5263 pl5 ANY ANY
[12] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5263 pl5 ANY ANY
[13] ReAPI RUN - reapi_amxx_i386.so v5.20.0.236-dev pl5 ANY Never
[14] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5263 pl5 ANY ANY
[15] CSX RUN - csx_amxx_i386.so v1.9.0.5263 pl5 ANY ANY
[16] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5263 pl5 ANY ANY
[17] CSDM2 RUN - csdm_amxx_i386.so v2.1.3c-KWo pl5 ANY ANY
[18] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl5 ANY Never
[19] Hide Cvars RUN - hidecvars_amxx_i386.so v1.0 pl5 ANY ANY
[20] MySQL RUN - mysql_amxx_i386.so v1.9.0.5263 pl5 ANY ANY
- Плагины
-
Код:[ 1] FreshBans 1.4.0b kanagava fresh_bans_140_ running
[ 2] Aliases checker 1.0.6 kanagava alias_detector_ running
[ 3] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 4] Top Awards 0.11c Safety1st Top_awards.amxx running
[ 5] Admin Base 1.9.0.5263 AMXX Dev Team admin.amxx running
[ 6] Admin Commands 1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 7] Admin Help 1.9.0.5263 AMXX Dev Team adminhelp.amxx running
[ 8] Menus Front-End 1.9.0.5263 AMXX Dev Team menufront.amxx running
[ 9] Commands Menu 1.9.0.5263 AMXX Dev Team cmdmenu.amxx running
[ 10] Players Menu 1.9.0.5263 AMXX Dev Team plmenu.amxx running
[ 11] Maps Menu 1.9.0.5263 AMXX Dev Team mapsmenu.amxx running
[ 12] Plugin Menu 1.9.0.5263 AMXX Dev Team pluginmenu.amxx running
[ 13] Multi-Lingual System 1.9.0.5263 AMXX Dev Team multilingual.am running
[ 14] Admin Chat 1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 15] Anti Flood 1.9.0.5263 AMXX Dev Team antiflood.amxx running
[ 16] Admin Votes 1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 17] NextMap 1.9.0.5263 AMXX Dev Team nextmap.amxx running
[ 18] unknown unknown unknown votemapblock.am running
[ 19] TimeLeft 1.9.0.5263 AMXX Dev Team timeleft.amxx running
[ 20] CS Misc. Stats 1.9.0.5271 AMXX Dev Team miscstats.amxx running
[ 21] Manager StatsX Beta Asmoway | serfre bio_statsx_mana running
[ 22] Stats Configuration 1.9.0.5263 AMXX Dev Team statscfg.amxx running
[ 23] CS Stats Logging 1.9.0.5263 AMXX Dev Team stats_logging.a debug
[ 24] Chat Manager 4.8 OciXCrom crx_chatmanager debug
[ 25] CM: Toggle Chat 4.1 OciXCrom crx_chatmanager debug
[ 26] csdm team balancer 0.0.3 ConnorMcLeod New_csdm_teamba debug
[ 27] Map Spawns Editor 1.0.16 iG_os Map_Spawns_Edit debug
[ 28] Task Scheduler 0.2 JustinHoMi task_scheduler. debug
[ 29] RC BaseChanger freesrv custom rc_basechanger. stopped
[ 30] ReChecker Logging freesrv custom rc_logging.amxx running
[ 31] Time Maps 1.0 Javekson timemaps.amxx debug
[ 32] Ping Checker 26.0.1 RC1 h1k3 Ping_checker.am debug
[ 33] TimeProjector 0.1 ST4life timeprojector.a debug
[ 34] ResetScore 1.0 Leo_[BH] Resetscore_reap running
[ 35] Block Radio Commands 1.0 d3m37r4 Block_radiocmd. running
[ 36] Rank Info 1.1 OciXCrom CRX_Info_Rank.a debug
[ 37] Ultimate Fire in the H 2.1 OciXCrom Crx_fireintheho debug
[ 38] Auto AWP 1.1 OciXCrom Crx_auto_awp.am debug
[ 39] GoSpec 1.2 OciXCrom Crx_gospec.amxx debug
[ 40] AWP Models 2.1.4 OciXCrom Crx_awp_models. debug
[ 41] MOTD Commands 1.3 OciXCrom Crx_motdcommand debug
[ 42] Connect Announce 0.2 v3x Connect_announc debug
[ 43] Killer Message 1.0 hleV Kill_message.am running
[ 44] Nick Protection 1.1 OciXCrom Nick_Protection debug
[ 45] No Name Change 2.1 OciXCrom Crx_nonamechang debug
[ 46] Double Jump 1.0-ReAPI Huehue Vip_double_jump debug
[ 47] VIP Plugin 1.0 OciXCrom Vip_Extras_rt.a debug
[ 48] Generated VIP Plugin 1.0 AMXX-BG.info VIP_Tab_rt.amxx debug
[ 49] CSDM Main 2.1.3d CSDM Team csdm_main.amxx running
[ 50] CSDM Spawns 2.1.3d CSDM Team csdm_spawn_pres running
[ 51] CSDM Misc 2.1.3d CSDM Team csdm_misc.amxx running
[ 52] CSDM Stripper 2.1.3d KWo csdm_stripper.a running
[ 53] CSDM Protection 2.1.3d BAILOPAN csdm_protection running
- Amxx Модули
-
Код:Fun 1.9.0.5263 AMX Mod X Dev Team running
Engine 1.9.0.5263 AMX Mod X Dev Team running
FakeMeta 1.9.0.5263 AMX Mod X Dev Team running
ReAPI 5.20.0.236 Asmodai & s1lent running
nVault 1.9.0.5263 AMX Mod X Dev Team running
CStrike 1.9.0.5263 AMX Mod X Dev Team running
CSX 1.9.0.5263 AMX Mod X Dev Team running
Ham Sandwich 1.9.0.5263 AMX Mod X Dev Team running
CSDM2 2.1.3c-KWo CSDM Team running
ReAimDetector 0.2.2 ReHLDS Team running
Hide Cvars 1.0 Eriurias running
MySQL 1.9.0.5263 AMX Mod X Dev Team running
Sockets 1.9.0.5263 AMX Mod X Dev Team running
RegEx 1.9.0.5263 AMX Mod X Dev Team running
- Ошибка
-
Код:Net
Можно ли добавить в плагин Safet1 условие: игроки в топ-10 должны иметь флаг «r» - чтобы получить VIP-флаг «t»? Спасибо!
Код:
#include <amxmodx>
#include <csstats>
#define IGNORE_FLAG ADMIN_LEVEL_A /* flag "m" */
new pRanks, pFlags
public plugin_init() {
register_plugin( "Top Awards", "0.11c", "Safety1st" )
register_dictionary( "topawards.txt" )
pRanks = register_cvar( "top_ranks", "10" )
pFlags = register_cvar( "top_flags", "t" )
}
public client_putinserver(id) {
set_task( 0.3, "CheckStats", id ) // we need to use delay otherwise we will get rank = 0
}
public CheckStats(id) {
new iFlags = get_user_flags(id)
new szAddFlags[16]
get_pcvar_string( pFlags, szAddFlags, 15 )
new iAddFlags = read_flags(szAddFlags)
if ( iFlags & IGNORE_FLAG || iFlags & iAddFlags == iAddFlags )
// ignore player with IGNORE_FLAG or having all additional flags
return
new iRanks = get_pcvar_num(pRanks)
if ( !iRanks )
return
new szStats[8], szBodyHits[8]
new iRank = get_user_stats( id, szStats, szBodyHits )
if ( iRank && iRank <= iRanks ) {
// 1st check for safety. may be player not ranked at all yet
set_user_flags( id, iFlags | iAddFlags )
new data[2]
data[0] = id
data[1] = iRanks
set_task( 5.0, "PrintMessage", _, data, 2 )
}
}
public PrintMessage( data[2] ) {
if ( !is_user_connected(data[0]) )
return
ColorPrint( data[0], "%L", data[0], "TOP_AWARDS", data[1] )
}
ColorPrint( iReceiver, const szRawMessage[ ], any:... ) {
static iMsgSayText = 0
if( !iMsgSayText )
iMsgSayText = get_user_msgid( "SayText" )
new szMessage[192]
vformat( szMessage, charsmax(szMessage) - 1, szRawMessage, 3 )
replace_all( szMessage, charsmax(szMessage) - 1, "!n", "^1" )
replace_all( szMessage, charsmax(szMessage) - 1, "!t", "^3" )
replace_all( szMessage, charsmax(szMessage) - 1, "!g", "^4" )
if ( szMessage[0] != '^1' || szMessage[0] != '^3' || szMessage[0] != '^4' )
format( szMessage, charsmax(szMessage) - 1, "^1%s", szMessage ) // we must set initial default color if it is not provided explicitly
message_begin( MSG_ONE_UNRELIABLE, iMsgSayText, _, iReceiver )
write_byte(iReceiver) // use target player as sender to see colors at all (and his own team color for ^3)
write_string(szMessage)
message_end()
}