Участник
Пользователь
- Сообщения
- 47
- Реакции
- 6
- Помог
- 1 раз(а)
- Ошибка
-
В плагине remove compres трупы после смерти удаляются сразу, а мне нужно чтобы было через секунды 4-5.
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5249
- Билд
-
ReHLDS version: 3.7.0.690-dev
- ReGamedll
-
ReGameDLL version: 5.12.0.425-dev
- Версия Metamod
-
Metamod v1.21p37
- Список метамодулей
-
[ 1] Reunion RUN - reunion_mm_i386. v0.1.0.9 ini Start Never
[ 2] Revoice RUN - revoice_mm_i386. v0.1.0.3 ini Start Never
[ 3] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 4] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 5] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 6] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0.5 ini Start ANY
[ 7] WHBlocker RUN - whblocker_mm_i38 v1.5.696 ini Chlvl ANY
[ 8] hackdetector RUN - hackdetector_amx v0.15.32 ini ANY ANY
[ 9] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[10] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl6 ANY ANY
[11] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl6 ANY ANY
[12] MySQL RUN - mysql_amxx_i386. v1.9.0.5 pl6 ANY ANY
[13] SQLite RUN - sqlite_amxx_i386 v1.9.0.5 pl6 ANY ANY
[14] Engine RUN - engine_amxx_i386 v1.9.0.5 pl6 ANY ANY
[15] ReAPI RUN - reapi_amxx_i386. v5.11.0. pl6 ANY Never
[16] ReAimDetector RUN - reaimdetector_am v0.2.2 pl6 ANY Never
[17] AuthEmu RUN - authemu_amxx_i38 v4.2.12. pl6 ANY Never
[18] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl6 ANY ANY
[19] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl6 ANY ANY
[20] GeoIP RUN - geoip_amxx_i386. v1.9.0.5 pl6 ANY ANY
- Список плагинов
-
[ 1] FreshBans 1.4.0b kanagava fresh_bans_1.4. running
[ 2] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 3] Advanced Gag 1.9.0 neygomon amx_gag.amxx running
[ 4] Advanced MapChooser 1.4 neygomon map_chooser.amx running
[ 5] Admin Base 1.9.0.5249 AMXX Dev Team admin.amxx running
[ 6] Admin Commands 1.9.0.5249 AMXX Dev Team admincmd.amxx running
[ 7] Players Menu 1.7 neugomon players_menu.am running
[ 8] Admin Chat 1.9.0.5249 AMXX Dev Team adminchat.amxx running
[ 9] Anti Flood 1.9.0.5249 AMXX Dev Team antiflood.amxx running
[ 10] Maps Menu 1.9.0.5249 AMXX Dev Team mapsmenu.amxx running
[ 11] Restrict Weapons 1.9.0.5249 AMXX Dev Team restmenu.amxx running
[ 12] Admin Votes 1.9.0.5249 AMXX Dev Team adminvote.amxx running
[ 13] c4 timer 1.1 cheap_suit c4timer.amxx running
[ 14] Stats Configuration 1.9.0.5249 AMXX Dev Team statscfg.amxx running
[ 15] Say Me & Hp 1.0 Hypa_[KZ] say_me_and_hp.a running
[ 16] Master Servers Check 3.7 Javekson ms_check.amxx running
[ 17] AuthEmu API 1.0 Dev-MS Team authemu.amxx running
[ 18] XMAS Skybox 1.0 SeMax xmas_sky.amxx running
[ 19] Christmas hat 0.3 AMXX.Shop christmas_hat_r running
[ 20] Tree Spawner 1.0 xPaw TreeSpawner.amx running
[ 21] Admin Spectator ESP 1.3 KoST admesp.amxx running
[ 22] Models Replacement 0.0.2 ConnorMcLeod | V models_replacem running
[ 23] Custom Smoke 1.07 bionext custom_smoke.am running
[ 24] Mode 2x2 2.5re s1lent mode.amxx running
[ 25] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 26] Auto Team Balance Adva 1.5.1 Radius auto_team_balan running
[ 27] [ReAPI] No Team Flash 0.0.2 Vaqtincha no_team_flash.a running
[ 28] Steam Bonus 1.1 ill+F@nToM steam_bonus_a2. running
[ 29] DemoRecoder 1.2 neygomon demorecoder.amx running
[ 30] Menus Front-End 1.5 neugomon menufront_end.a running
[ 31] MenuGen 1.0 CrAsH MenuGen.amxx running
[ 32] [ReAPI] IDEAL VIP 1.4.8 Wikiname (Remake re_ideal_vip.am running
[ 33] Invisible Spectator 1.0 ReHLDS Team invisible_spect running
[ 34] WeaponMenu 1.1 neygomon wmenu.amxx running
[ 35] ScreenMaker 1.1 neygomon screen_maker.am running
[ 36] Fire in the hole 0.1 VEN fire_in_the_hol running
[ 37] Screen_Fade 0.0.5 Vaqtincha screen_fade.amx running
[ 38] AFK Control 1.4.1 [Rnd neygomon afk_control.amx running
[ 39] Ping Control 0.3 neygomon ping_control.am running
[ 40] ResetScore and GameNam 1.0 Phantom rs_and_game_nam running
[ 41] Top Awards 0.11c Safety1st top_awards.amxx running
[ 42] Info Rank 0.2 maFFyoZZyk info_rank.amxx running
[ 43] Parachute 1.1 ReHLDS Team parachute.amxx running
[ 44] Advert Messages 1.2.2 neygomon adverts.amxx running
[ 45] Block Advert 1.4 neygomon block_advert.am running
[ 46] Anti Reklama 1.1 MarcaD anti_reklama.am running
[ 47] Spect Bot 1.4 Jack Daniel`s spect_bot.amxx running
[ 48] Chat Manager 1.1.1-11 Mistrick chatmanager.amx running
[ 49] RC BaseChanger 1.0 AMXX rc_basechanger. running
[ 50] ReChecker Logging 1.0 AMXX rc_logging.amxx running
[ 51] Online Helper 2.1.3 Nordic Warrior online_helper.a running
[ 52] VTB 3.0 MOD voteban.amxx running
[ 53] Lite AwpLimit 1.09 neygomon awp.amxx running
[ 54] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 55] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 56] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 57] AES: Admin Tools 0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 58] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 59] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 60] AES: Bonus CSTRIKE 0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
- Автор плагина
- Vaqtincha
- Версия плагина
- 0.0.1
- Исходный код
-
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
new bool: g_BotsRegistered
public plugin_init()
{
register_plugin("Remove Corpses", "0.0.1", "Vaqtincha")
RegisterHam(Ham_Spawn,"player","PlayerSpawn",1)
register_message(get_user_msgid("DeathMsg"), "Event_Death")
set_msg_block(get_user_msgid("ClCorpse"), BLOCK_SET)
}
public client_authorized(id)
{
if(!g_BotsRegistered && is_user_bot(id))
{
set_task(0.1, "register_bots", id)
}
}
public register_bots(id)
{
if(!g_BotsRegistered && is_user_connected(id))
{
RegisterHamFromEntity(Ham_Spawn, id, "PlayerSpawn")
g_BotsRegistered = true
}
}
public PlayerSpawn(player)
{
set_pev(player, pev_renderfx, kRenderFxNone)
set_pev(player, pev_rendercolor, 255,255,255)
set_pev(player, pev_rendermode, kRenderNormal)
set_pev(player, pev_renderamt, 0.0)
}
public Event_Death()
{
new player = get_msg_arg_int(2)
set_pev(player, pev_renderfx, kRenderFxNone)
set_pev(player, pev_rendercolor, 255,255,255)
set_pev(player, pev_rendermode, kRenderTransAlpha)
set_pev(player, pev_renderamt, 0.0)
}
В плагине remove compres трупы после смерти удаляются сразу, а мне нужно чтобы было через секунды 4-5.
Спасибо за помощь.
Спасибо за помощь.
В этой теме было размещено решение! Перейти к решению.