Музыка не воспроизводится при входе

Сообщения
11
Реакции
0
Ошибка
просто нету музыки при входе, приветствие работает
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.527
Билд
ReHLDS version: 3.8.0.702-dev
ReGamedll
ReGameDLL version: 5.20.0.492-dev
Версия Metamod
Metamod-r v1.3.0.128
Список метамодулей
[ 1] LocalizeBug Fix  RUN   -    localizebugfix_mm_i386.so   v2.4             ini  Start Never
[ 2] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 3] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 4] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 5] Reunion RUN - reunion_mm_i386.so v0.1.0.92c ini Start Never
[ 6] Revoice RUN - revoice_mm_i386.so v0.1.0.34 ini Start Never
[ 7] AMX Mod X RUN - amxmodx_mm_i386.so v1.8.3-Re ini Start ANY
[ 8] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 9] Fun RUN - fun_amxx_i386.so v1.8.3-Re pl7 ANY ANY
[10] Engine RUN - engine_amxx_i386.so v1.8.3-Re pl7 ANY ANY
[11] CStrike RUN - cstrike_amxx_i386.so v1.8.3-Re pl7 ANY ANY
[12] CSX RUN - csx_amxx_i386.so v1.8.1.3746 pl7 ANY ANY
[13] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.8.3-Re pl7 ANY ANY
[14] ReAPI RUN - reapi_amxx_i386.so v5.18.0.203-dev pl7 ANY Never
[15] MySQL RUN - mysql_amxx_i386.so v1.8.3-Re pl7 ANY ANY
[16] FakeMeta RUN - fakemeta_amxx_i386.so v1.8.3-Re pl7 ANY ANY
[17] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl7 ANY Never
Список плагинов
name                    version     author            file             status   
[ 1] Admin Loader 2.9 neygomon admin_loader.am running
[ 2] FreshBans 1.4.3b kanagava fresh_bans_143_ running
[ 3] Admin Commands 1.9.0.5271 AMXX Dev Team admincmd1.amxx running
[ 4] Admin Help 1.8.3-Re AMXX Dev Team adminhelp.amxx running
[ 5] Slots Reservation 1.8.3-Re AMXX Dev Team adminslots.amxx running
[ 6] Players Menu 1.9.0.5271 AMXX Dev Team plmenu1.amxx running
[ 7] Menus Front-End 1.9.0.5271 AMXX Dev Team menufront.amxx running
[ 8] Commands Menu 1.8.3-Re AMXX Dev Team cmdmenu.amxx running
[ 9] Players Menu 1.7 neugomon players_menu.am running
[ 10] Maps Menu 1.4.1 neugomon mapsmenu.amxx running
[ 11] Plugin Menu 1.8.3-Re AMXX Dev Team pluginmenu.amxx running
[ 12] Admin Chat 1.8.3-Re AMXX Dev Team adminchat.amxx running
[ 13] Anti Flood 1.8.3-Re AMXX Dev Team antiflood.amxx running
[ 14] Info. Messages 1.8.3-Re AMXX Dev Team imessage.amxx running
[ 15] Admin Votes 1.9.0.5271 AMXX Dev Team adminvote.amxx running
[ 16] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 17] Pause Plugins 1.8.3-Re AMXX Dev Team pausecfg.amxx running
[ 18] Stats Configuration 1.9.0.5271 AMXX Dev Team statscfg.amxx running
[ 19] Restrict Weapons 1.8.3-Re AMXX Dev Team restmenu.amxx running
[ 20] FlashBang DynLight 1.3 [REAPI neugomon flashbang_dynli running
[ 21] New Kick Menu 1.4.2 Radius newkickmenu.amx running
[ 22] BhopHack Detector 0.1 Mistrick bhophack_detect running
[ 23] Team Select 1.6.0 F@nt0M teamselect.amxx running
[ 24] High Ping Kicker 1.6 UFPS.Team high_ping_kicke running
[ 25] c4 0.1 Artemka c4.amxx running
[ 26] Fast DL fix 0.3 mazdan fastdl.amxx running
[ 27] Lite Admin ESP 1.0 neygomon admin_esp.amxx running
[ 28] Automatic knife duel 0.3 JGHG automatic_knife running
[ 29] Welcome in the Server 0.1 pUzzlik re_welcome_msg. running
[ 30] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 31] Auto recording demo 2.0 IzI | Bonaqua (R amx_autodemorec running
[ 32] AFK Control 1.4.1 [Rnd neygomon afk_control.amx running
[ 33] Autochange de_dust2 1.0 Artem P. autochange_de_d running
[ 34] Check Admin & Vip 2.0 Leo_[BH] check_admin_vip running
[ 35] Damager 2.0 Prayer damager.amxx running
[ 36] ResetScore 1.0 Leo_[BH] resetscore_reap running
[ 37] Killa HP 1.6 jas0n killa_hp.amxx running
[ 38] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 39] RockTheVote 1.8 DA rockthevote_cus running
[ 40] Instant AutoTeamBalanc 1.2.0 ConnorMcLeod instant_autotea running
[ 41] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 42] Screen Fade 0.1 neygomon screen_fade.amx running
[ 43] AES: StatsX Info Rank 0.1 serfreeman1337 aes_statsx_rank running
[ 44] Nice Live 1.0 sector nice_live.amxx running
[ 45] [ReAPI] TopRoundDamage 1.0.6 Dager* *.* -G- damage_round.am running
[ 46] [ReAPI] AWPoff 1.4.3 PAffAEJIkA :3 awp_off.amxx running
[ 47] Parachute for ALL [ReA 3.0 Leo_[BH] parachute_for_a running
[ 48] C4 Timer on roundtime 0.3.3a neygomon c4timer.amxx running
[ 49] Advanced Gag 1.9.0 neygomon amx_gag.amxx running
[ 50] [ReAPI] No Team Flash 0.0.2 Vaqtincha no_team_flash.a running
[ 51] Killing Particles 1.01 metallicawOw KP_FIX.amxx running
[ 52] Lite Kill Assist 1.17 neygomon lite_kill_assis running
[ 53] VIP Custom Weapons 1.0 Vaqtincha vip_custom_weap running
[ 54] VoteBan Menu 1.1 Author + ApXuTek voteban_menu.am running
[ 55] Kill Manager Sound 1.3 ShaTalKiN kmansound.amxx running
[ 56] [ReAPI] Hint blocker 0.1.0 F@tn0M reapi_hint_bloc running
[ 57] Top Awards 0.11c Safety1st top_awards.amxx running
[ 58] Simple Grenade Trail 1.0 seroff granade_trail.a running
[ 59] FreeAmmoEveryRound 0.1 SHLAKBAUM freeammoeveryro running
[ 60] Ultimate Flags 29.10.19 by detu mou ultimate_flags. running
[ 61] Spectator Bots 2.1 SISA spectator_bots. running
[ 62] Descriptive 'Fire in t 0.1 VEN descriptive_fir running
[ 63] Lite Translit 2.8 neygomon lite_translit_c running
[ 64] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 65] Advanced Experience Sy 0.5 Vega serfreeman1337 aes_main.amxx running
[ 66] AES: StatsX 0.5 Vega serfreeman1337 aes_statsx_cstr running
[ 67] AES: CStrike Addon 0.5 Vega serfreeman1337 aes_exp_cstrike running
[ 68] AES: Informer 0.5 Vega serfreeman1337 aes_informer.am running
[ 69] AES: Admin Tools 0.5 Vega serfreeman1337 aes_exp_editor. running
[ 70] AES: Bonus System 0.5 Vega serfreeman1337 aes_bonus_syste running
[ 71] AES: Bonus CSTRIKE 0.5 Vega serfreeman1337 aes_bonus_cstri running
[ 72] AES: StatsX 0.5 Vega serfreeman1337 aes_statsx.amxx running
[ 73] V.I.P Custom KNIFE 1.0.0 Vaqtincha custom_knife.am running
[ 74] V.I.P Custom DEAGLE 1.0.0 Vaqtincha custom_deagle.a running
[ 75] V.I.P Custom M4A1 1.0.0 Vaqtincha custom_m4a1.amx running
[ 76] V.I.P Custom AK-47 1.0.0 Vaqtincha custom_ak47.amx running
[ 77] V.I.P Custom AWP 1.0.0 Vaqtincha custom_awp.amxx running
[ 78] Block Pickup Gold 0.1 Vaqtincha blockpickupgold running
Автор плагина
pUzzlik
Версия плагина
0.1
Исходный код
#include <amxmodx>
#include <reapi>

#if AMXX_VERSION_NUM < 183
#include <dhudmessage>
#endif
#if !defined MAX_PLAYERS
#define MAX_PLAYERS 32 // Не трогаем, это нам ни к чему
#endif

#pragma semicolon 1
new const szSound[][] = // Пути к звукам
{
"vox/5.mp3",
"vox/6c.mp3",
"vox/10.mp3",
"vox/20-1.mp3",
"vox/20-3.mp3",
"vox/20-4.mp3",
"vox/Positive-7.mp3",
"vox/20-5.mp3",
"vox/r-3.mp3",
"vox/t2.mp3",
"vox/t3.mp3",
"vox/t5.mp3",
"vox/9.mp3",
};

new const szServerName[] = "name"; // Название сервера
new bool:g_bUseShow[MAX_CLIENTS+1], g_iFlags[MAX_PLAYERS];

public plugin_precache() {
for(new i; i < sizeof szSound; i++)
precache_sound(szSound[i]);
}

public plugin_init() {
register_plugin("Welcome in the Server", "0.1", "pUzzlik");
RegisterHookChain(RG_CBasePlayer_Spawn, "CBasePlayer_Spawn_Post", true);
}

public client_putinserver(id) {
new iSound = random_num(0, (sizeof szSound-1));
client_cmd(id, "spk %s", szSound[iSound]);

g_bUseShow[id] = true;
new iFlags = get_user_flags(id);
g_iFlags[id] = (iFlags & ADMIN_BAN) ? 1 : (iFlags & ADMIN_LEVEL_H) ? 2 : 0;
}

public CBasePlayer_Spawn_Post(const id) {
if(is_user_connected(id) && g_bUseShow[id]) {
g_bUseShow[id] = false;

set_dhudmessage(0, 255, 255, -1.0, 0.31, 2, 6.0, 12.0);
switch(g_iFlags[id]) {
case 0: show_dhudmessage(id, "Приветствуем тебя, Игрок!^nДобро пожаловать на %s", szServerName);
case 1: show_dhudmessage(id, "Приветствуем тебя, Администратор!^nДобро пожаловать на %s", szServerName);
case 2: show_dhudmessage(id, "Приветствуем тебя, VIP-игрок!^nДобро пожаловать на %s", szServerName);
}
}
}
Приветствие на сервере пишет, звуки указаны верно, но почему-то не воспроизводит песни когда захожу на сервер, ошибок нет
В чем проблема?
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
458
Реакции
263
Помог
9 раз(а)
Tektonik, MP3 со speak не работает, и прекешить надо весь путь, включая папку sound
 

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

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