- Ошибка
-
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
- Список плагинов
-
Reasons.amxx
- Автор плагина
- 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