Поиск Full Sound/Music on Round Start/End

Carrion

Пользователь
Регистрация
28 Мар 2020
Сообщения
12
Симпатии
1
so here was post about it but i could not find it.
post was about round time but not only 5 sec.
i need plugin for play full sound on round ( no mather end or start )

not only 5 sec

полная музыка после раунда . не 5 сек

C++:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#define PLUGIN "Nice Loading Music"
#define VERSION "1.1"
#define AUTHOR "sector"

#define MUSIC "sound/TEMP/TEMP-0.mp3"

new List[ ][ ]= {
    "sound/TEMP/TEMP-0.mp3",
    "sound/TEMP/TEMP-1.mp3",
    "sound/TEMP/TEMP-2.mp3",
    "sound/TEMP/TEMP-3.mp3",
    "sound/TEMP/TEMP-4.mp3",
    "sound/TEMP/TEMP-5.mp3",
    "sound/TEMP/TEMP-6.mp3",
    "sound/TEMP/TEMP-7.mp3"   
}

public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_logevent("roundend", 2, "1=Round_End")
}

public plugin_precache() {
    precache_generic(MUSIC)
    for(new a = 0; a < sizeof(List); a++)    {
        precache_generic(List[a]);
    }
}

public client_connect(id) {
    client_cmd(id, "mp3 play %s", MUSIC)
}

public roundend() {
    client_cmd(0, "mp3 play %s", List[random_num(0, charsmax(List))])
}


/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1049\\ f0\\ fs16 \n\\ par }
*/


if is there other its play only 5 sec
 
Последнее редактирование:
Сверху Снизу