Плагин не работает под rehlds

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
71
Реакции
30
Помог
6 раз(а)
Ошибка
Плагин не работает под rehlds
ОС
Linux
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.3.0.630-dev
Build date: 10:29:03 Jan 17 2018 (1376)
ReGamedll
ReGameDLL version: 5.3.0.282-dev
Build date: 21:00:02 Jan 17 2018
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 2] VoiceTranscoder RUN - VoiceTranscoder. v2017RC3 ini ANY ANY
[ 3] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2 ini Start ANY
[ 4] Reunion RUN - reunion_mm_i386. v0.1.75 ini Start Never
[ 5] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 6] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 7] ReSRDetector RUN - resrdetector_mm_ v0.1.0 ini Chlvl ANY
[ 8] WHBlocker RUN - whblocker_mm_i38 v1.5.695 ini Chlvl ANY
[ 9] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[10] ReAimDetector RUN - reaimdetector_am v0.2.0 pl3 ANY Never
[11] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2 pl3 ANY ANY
[12] MySQL RUN - mysql_amxx_i386. v1.8.2 pl3 ANY ANY
[13] Ham Sandwich RUN - hamsandwich_amxx v1.8.2 pl3 ANY ANY
[14] ReAPI RUN - reapi_amxx_i386. v5.2.0.1 pl3 ANY Never
[15] CStrike RUN - cstrike_amxx_i38 v1.8.2 pl3 ANY ANY
[16] Fun RUN - fun_amxx_i386.so v1.8.2 pl3 ANY ANY
[17] Engine RUN - engine_amxx_i386 v1.8.2 pl3 ANY ANY
[18] CSDM2 RUN - csdm_amxx_i386.s v2.1.3c- pl3 ANY ANY
18 plugins, 18 running
Список плагинов
Currently loaded plugins:
name version author file status
[ 1] Vampire 1.1 miRror vampire_maks_ne running
[ 2] ReAimDetector API 0.2.0 ReHLDS Team reaimdetector.a running
[ 3] Aliases checker 1.0.3 kanagava alias_detector. running
[ 4] FreshBans 1.3.8b kanagava fresh_bans.amxx running
[ 5] fb_forwards 0.1.5 Kanagava & Realu fb_forwards.amx running
[ 6] unknown unknown unknown test_autoteam.a running
[ 7] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 8] FrostNades 2.14 Avalanche frostnades.amxx running
[ 9] Admin Load 3.9.2 Dev F@nt0M adminload.amxx running
[ 10] Money Transferer 1.4 kalash1k, Edit b money_transfer. running
[ 11] Sentry Guns 1.0 QooQa sentry_maks_her running
[ 12] Sentry Hero 1.5 QooQa & miRror hero_sentry.amx running
[ 13] Force Field Grenade 2.8 lucas_7_94 && mi force_shield_gr running
[ 14] unknown unknown unknown knife.amxx running
[ 15] Parachute 1.4 Adidasman Parachute.amxx running
[ 16] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 17] Map Manager: Sub Plugi 0.1 Mistrick mapmanager_subp running
[ 18] CSDM Main 2.1.3c CSDM Team csdm_main.amxx running
[ 19] CSDM Equip 2.1.3c CSDM Team csdm_equip.amxx running
[ 20] CSDM Spawns 2.1.3c CSDM Team csdm_spawn_pres running
[ 21] CSDM Misc 2.1.3c CSDM Team csdm_misc.amxx running
[ 22] CSDM Stripper 2.1.3c KWo csdm_stripper.a running
[ 23] CSDM Protection 2.1.3c BAILOPAN csdm_protection running
[ 24] Killer ScreenFade 0.0.5 Vaqtincha reapi_killer_sc running
[ 25] Sentry Menu 1.0 CannibaL sentry_menu.amx running
[ 26] adminmenu 3.9.1 Fant0M adminmenu_csdm. running
[ 27] Spec Money Save 0.2 F@nt0M spec_money_save running
[ 28] Invisible Spectator 1.0 ReHLDS Team invisible_spect running
[ 29] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running
[ 30] Advert Messages 1.4.9 Radius (based on advert_messages running
[ 31] SpacePK.ru DM BlockRad 1.0 You? DM_BlockRadio.a running
[ 32] Ping Control 0.1 Final Freedo.m Ping_Control.am running
[ 33] Afk Control 0.2 Freedo.m afk_control.amx running
[ 34] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running
[ 35] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running
[ 36] Reset_Score 1.0 miRror resetscore.amxx running
[ 37] Map Round Time 1.0.0 so1l & neugomon MapRoundTime.am running
[ 38] CS Shop 5.0.4 iNeedHelp CS_Shop.amxx running
[ 39] CSSB [WC3] Shopmenu3 1.3 CSSB itemShopmenu3.a running
[ 40] CSSB [WC3] Shopmenu3 1.3 CSSB wc3Shopmenu3.am running
[ 41] Bazooka 1.4 Major Victory & wc3_bazooka.amx running
[ 42] HK-416 1.0.1 the_hunter wc3_azp_hk416.a running
[ 43] CSSB [WC3] All Grenade 1.2 CSSB wc3_all_grenade running
[ 44] CSSB [WC3] Unlimited C 1.1 CSSB wc3_extra_unlim running
[ 45] Golden AK-47 1.0.5 the_hunter wc3_goldenak.am running
[ 46] Golden M4A1 1.0.5 the_hunter wc3_Goldenm4.am running
[ 47] VSK-94 1.0.1 the_hunter wc3_vsk94.amxx running
[ 48] Golden AWP 1.0.5 the_hunter wc3_extra_golde running
[ 49] Rock to Ban 1.46f Safety1st rock2ban.amxx running
[ 50] Damager 0.1b Subb98 damager.amxx running
[ 51] SF TripMine 0.3.4 serfreeman1337 lasermine.amxx running
[ 52] Automatic Unstuck 1.5 NL)Ramon(NL stuck.amxx running
[ 53] Maps Menu 1.4.1 neugomon mapsmenu.amxx running
[ 54] Auto Restart 1.0 miRror auto_restart.am running
[ 55] Player Lists 2.1 Safety1st player_lists.am running
[ 56] SF MultiJump 0.2 serfreeman1337 sf_multijump.am running
[ 57] Players Menu 1.3.2 neugomon players_menu.am running
[ 58] Mine 1.0 ill csdm_mine.amxx running
[ 59] Build Dispenser 1.0.5 tuty BuildDispenser. running
[ 60] CSDM Spec 1.1 miRror & the_hun spec_switch.amx running
[ 61] Sentry VIP 0.1 miRror sentry_vip.amxx running
[ 62] MOTD Website 0.1 Exolent help.amxx running
[ 63] Weapon: Smguns 1.0 LARS-DAY[BR]EAKE cso_weapons.amx running
[ 64] Auto Demo Recorder 2.2.1 F@nt0M demo_recorder.a running
[ 65] GameName Changer 1.0 neugomon gamename_change running
[ 66] ScoreBoard Title 1.0 xPaw ScoreBoardTitle running
[ 67] Gag Me 2.3.0 Radius gag_me.amxx running
[ 68] Chat Manager 1.1.1-11 Mistrick chatmanager.amx running
68 plugins, 68 running
Исходный код
#include <amxmodx>
#include <fun>

#define HPADD 10
#define HPHSADD 15
#define MAXHP 200

native sh_get_hero ()

public plugin_init( )
{
register_plugin( "Vampire", "1.1", "miRror" )
}

public client_death( iAttacker, iVictim, iWeapon, hitplace, TK )
{
if(get_user_flags(iAttacker) & ADMIN_BAN && sh_get_hero () != iAttacker) {
static bonushp, attackerhp

bonushp = ( hitplace == HIT_HEAD ) ? HPHSADD : HPADD

attackerhp = get_user_health( iAttacker ) + bonushp

if ( attackerhp > MAXHP )
attackerhp = MAXHP

set_user_health( iAttacker, attackerhp )

set_hudmessage(0, 255, 0, -1.0, 0.15, 0, 1.0, 1.0, 0.1, 0.1, -1)
show_hudmessage(iAttacker, "Добавлено +%d хп", bonushp)
}
}
Реально подправить его под rehlds ?
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
496
Реакции
621
Помог
16 раз(а)
Код:
[  1] Vampire                 1.1         miRror            vampire_maks_ne  running
Что именно не работает?
 
Сообщения
71
Реакции
30
Помог
6 раз(а)
Gudaus, Да ! согласен он запущен !
Но он не работает :( да и вампиризм есть по лучше но тут фикс хп админа когда он стает героем
вот хочется его завести
 
Сообщения
289
Реакции
251
Помог
7 раз(а)
CannibaL86,
Вниз их

[ 1] Vampire 1.1 miRror vampire_maks_ne running
[ 2] ReAimDetector API 0.2.0 ReHLDS Team reaimdetector.a running
 
Сообщения
71
Реакции
30
Помог
6 раз(а)
Jumper,
[ 60] MOTD Website 0.1 Exolent help.amxx running
[ 61] Weapon: Smguns 1.0 LARS-DAY[BR]EAKE cso_weapons.amx running
[ 62] Auto Demo Recorder 2.2.1 F@nt0M demo_recorder.a running
[ 63] GameName Changer 1.0 neugomon gamename_change running
[ 64] ScoreBoard Title 1.0 xPaw ScoreBoardTitle running
[ 65] Vampire 1.1 miRror vampire_maks_ne running
[ 66] ReAimDetector API 0.2.0 ReHLDS Team reaimdetector.a running

[ 67] Gag Me 2.3.0 Radius gag_me.amxx running
[ 68] Chat Manager 1.1.1-11 Mistrick chatmanager.amx running
68 plugins, 68 running
 
Сообщения
957
Реакции
1,185
Помог
52 раз(а)
CannibaL86, плагин ваш и на hlds работать не будет)
в нем используется форвард client_death, который в подключенных инлудах отсутствует. Для работоспособности подключите инлуд csx
 
Сообщения
71
Реакции
30
Помог
6 раз(а)
Sonyx, Вы были правы ! Спасибо огромное :thank_you:
 
Статус
В этой теме нельзя размещать новые ответы.

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу