help hud does not appear plugin reaction

Сообщения
13
Реакции
2
Ошибка
hud does not appear
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5271
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.698-dev
Build date: 10:14:22 Aug 19 2020 (2321)
Build from: https://github.com/dreamstalker/rehlds/commit/376bc15
ReGamedll
ReGameDLL version: 5.18.0.474-dev
Build date: 11:07:34 Jul 16 2020
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/efb06a7
Версия 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] Reunion          RUN   -    reunion.so                v0.1.0.92        ini  Start Never
[ 2] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 3] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 4] SafeNameAndChat RUN - SafeNameAndChat.so v1.0 ini ANY ANY
[ 5] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5271 ini Start ANY
[ 6] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC4 ini ANY ANY
[ 7] ReAPI RUN - reapi_amxx_i386.so v5.16.0.198-dev pl5 ANY Never
[ 8] Fun RUN - fun_amxx_i386.so v1.9.0.5271 pl5 ANY ANY
[ 9] Engine RUN - engine_amxx_i386.so v1.9.0.5271 pl5 ANY ANY
[10] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5271 pl5 ANY ANY
[11] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5271 pl5 ANY ANY
[12] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5271 pl5 ANY ANY
X[13] CSX RUN - csx_amxx_i386.so v1.9.0.5271 pl5 ANY ANY
[14] Orpheu RUN - orpheu_amxx_i386.so v2.3 pl5 ANY ANY
[15] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5271 pl5 ANY ANY
Список плагинов
[  1] mdbBans                 4.8         Desikac           mdbBansEN.amxx   running  
[ 2] ReChecker Logging 1.0 custom rc_logging.amxx running
[ 3] RC BaseChanger freesrv AMXX rc_basechanger. running
[ 4] Rechecker Log 0.1 F@nt0M rc_log.amxx running
[ 5] Controle de Precache 2.1 onixs | joaquima precache_contro error
[ 6] Ban NET Packet Spammer 1.0.0 Arkshine ban_net_packet_ running
[ 7] Anti Fullupdate Spam 2.0 Pike anti_fullupdate running
[ 8] Spambot block 1.0 mazdan spambot_block.a running
[ 9] Subnet ban menu 0.1 Subb98 subnet_ban_menu running
[ 10] Protectie OLDS 3.0.0 DemOnJR olds_protection running
[ 11] Players Menu 1.9.0.5271 AMXX Dev Team plmenu.amxx running
[ 12] Admin Base 1.9.0.5271 AMXX Dev Team admin.amxx running
[ 13] Admin Commands 1.9.0.5271 AMXX Dev Team admincmd.amxx running
X[ 14] Admin Help 1.9.0.5271 AMXX Dev Team adminhelp.amxx running
[ 15] Slots Reservation 1.9.0.5271 AMXX Dev Team adminslots.amxx running
[ 16] Multi-Lingual System 1.9.0.5271 AMXX Dev Team multilingual.am running
[ 17] Menus Front-End 1.9.0.5271 AMXX Dev Team menufront.amxx running
[ 18] Commands Menu 1.9.0.5271 AMXX Dev Team cmdmenu.amxx running
[ 19] Teleport Menu 1.9.0.5271 AMXX Dev Team telemenu.amxx running
[ 20] Maps Menu 1.9.0.5271 AMXX Dev Team mapsmenu.amxx running
[ 21] Anti Reklama 3.0c Exolent/->UrOS<- WTSGaMes_anti_r running
[ 22] TimeLeft 1.9.0.5271 AMXX Dev Team timeleft.amxx running
[ 23] Anti Flood 1.9.0.5271 AMXX Dev Team antiflood.amxx running
[ 24] Admin Chat 1.9.0.5271 AMXX Dev Team adminchat.amxx running
[ 25] Info. Messages 1.9.0.5271 AMXX Dev Team imessage.amxx running
[ 26] Admin Votes 1.9.0.5271 AMXX Dev Team adminvote.amxx running
[ 27] Stats Configuration 1.9.0.5271 AMXX Dev Team statscfg.amxx running
[ 28] Restrict Weapons 1.9.0.5271 AMXX Dev Team restmenu.amxx running
X[ 29] StatsX 1.9.0.5271 AMXX Dev Team statsx.amxx running
[ 30] CS Misc. Stats 1.9.0.5271 AMXX Dev Team miscstats.amxx running
[ 31] CS Stats Logging 1.9.0.5271 AMXX Dev Team stats_logging.a running
[ 32] BANIP FAKE 0.2 Premier Clan block.amxx running
[ 33] Fix AutoBuy Bug 1.1 PomanoB & UFPS.T autobuy_crash_f running
[ 34] Fix AutoBuy Bug 1.1 PomanoB & UFPS.T autobuyfix.amxx running
[ 35] Fix AutoBuy Bug 1.4 PomanoB / UFPS.T antisaybug.amxx running
[ 36] [MvPRO] Temp Fix IB 1.0 MvPRO.net Team m_tfix.amxx running
[ 37] rotate_fix_EN 1.2 NL)Ramon(NL linux_func_rota running
[ 38] Advanced Bans 0.8.1 Exolent advanced_bans.a running
[ 39] GHW Say Commands 1.1 GHW_Chronic GHW_Custom_Say_ running
[ 40] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 41] Extra Precacher 1.0 Alka extra_precacher running
[ 42] Auto Set Langauge 1.5.02 FALUCO/teame06 autolang.amxx running
[ 43] Executar Comando ao Co 1.0 .ThePro autos-comandos. running
X[ 44] Exec 1.0 ToXiC amx_exec.amxx running
[ 45] JailBreak Block Buy 1.0 Viictor # blockbuy.amxx running
[ 46] Spray ID 1.12 Cheesy Peteza sprayid.amxx running
[ 47] Chat Manager 4.5.1 OciXCrom crx_chatmanager running
[ 48] FtN Jail-Break 8.0 Zetsukt Fraternity_Jail running
[ 49] Team Ratio 0.0.6 Exolent team_ratio_fina debug
[ 50] Dias de Freeday 1.0 Sn!ff3r Contador-de-Dia debug
[ 51] HATS 1.8 SgtBane Chapeus.amxx debug
[ 52] Weapon Model + Sound R 1.3 GHW_Chronic J-3.amxx debug
[ 53] JailBreak: Open Jails 1.0 www.countersbr.n J-6.amxx running
[ 54] Bullet Damage 0.0.1 ConnorMcLeod J-11.amxx running
[ 55] Revive Menu 1.0 Andre J-16.amxx debug
[ 56] Drop All Weapons On De 0.1.4 ConnorMcLeod J-17.amxx running
[ 57] Weapon Physics 2.1 Nomexous J-20.amxx running
[ 58] Menu Rapido N 1.0 .Klysman =]. J-19.amxx running
X[ 59] 0.1 BF J-29.amxx running
[ 60] Players Models 1.3.2 ConnorMcLeod JB-77.amxx debug
[ 61] Advanced Tracers 0.1 [email protected] JB-68.amxx running
[ 62] User Kill 1.0 Khalid JB-74.amxx debug
[ 63] Jailbreak Box Menu 1.3 CheezPuff mixbr_box.amxx running
[ 64] MIXBR Times 1.0 SAYF MixBR_Times.amx running
[ 65] MG Booster 1.0 blackjack baseamx.amxx running
[ 66] API: Paraquedas 2.0 MGTHOST1. mgthost1_paraqu running
[ 67] AMX Show IP 1.0 www.4evergaming. amx_showip.amxx running
[ 68] Set console Plugin 1.0.0.1 Moxnatiy_aimm.co inp_light.amxx running
[ 69] One Name 0.1.0 ConnorMcLeod bloquear_nick.a running
[ 70] FrostNades 0.12b Avalanche JB-66.amxx running
[ 71] Camera Changer 1.0 XunTric BF_JB_camera.am running
[ 72] Game Namer 1.1 NeuroToxin gamenamechanger running
[ 73] Weapon Physics 2.1 Nomexous weaponphys.amxx running
[ 74] MGTHOST1: Anti IP 2.0 MGHOST1. mgthost1_ant_ip running
[ 75] MOTD Commands 1.3 OciXCrom Ftnweb.amxx running
[ 76] Skins Vip 1.0 Zetsukt vipskins.amxx running
[ 77] Command Targeting Plus 1.3 OciXCrom crx_cmdtarget_p running
[ 78] AMX Blind v1.0 T(+)rget amx_blind.amxx running
[ 79] Admin Chat 0.1 K R o T @ L say.amxx running
[ 80] Maps Time 1.0 Zetsukt FtN_maps_time.a running
(5) Error: Problem installing the plugin. You don't have configuration folders in place.
80 plugins, 79 running
Автор плагина
unknown
Версия плагина
1.0
Исходный код
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>

#define IsPlayer(%1) (1 <= %1 <= g_players)

new g_players;

new const gReasons[][] = {

"Horn",
"Chicken thief",
"Wanker",
"Killer",
"Drug dealer",
"Illiterate",
"Break in",
"Smelly",
"Slut",
"sucker"

}

//set_hudmessage(255, 170, 0, -1.0, 0.72, 0, 3.0, 15.0)

new g_iReasons[33]

public plugin_init(){

register_plugin("reasons", "1.0", "amxbg");
register_event("HLTV", "event_NewRound", "a", "1=0", "2=0")

g_players = get_maxplayers();

}

public event_NewRound(id) {

for(new i = 1; i <= g_players; i++) {


if( is_user_connected( i ) && cs_get_user_team( i ) == CS_TEAM_T ) {

set_hudmessage(255, 170, 0, -1.0, 0.72, 0, 15.0, 1.0)

show_hudmessage(i, "you are a %s !!", gReasons[ g_iReasons = random(sizeof(gReasons)) ])

}

}

}
Hello I would like a help in this plugin the message is not appearing does anyone know the reason? and also the length of the message to 15 seconds
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
1,697
Реакции
1,510
Помог
25 раз(а)
Check set_hudmessage arguments. I think you wrong with holdtime.
 
Сообщения
1,697
Реакции
1,510
Помог
25 раз(а)
Helga, ",holdtime" лишнее.
 

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

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