Witam !
Szukam Pluginu roundsound i żeby piosenki były w formacie MP3.
I chcial bym zeby :
- 10 piosenek do ct i 10 piosenek do tt
- nazywaly sie od
ct1, ct 2, ct 3, ct4 ... ct 10 i to samo w
tt1, tt2, tt3, tt4 ... tt10
Jak by ktos nie znalazl moge podac zawartosc sma z innego roundsound mp3 tylko ze tam bylo 2 piosenki na druzyne i jakies dziwne nazwy ,]
Cytat:
#include <amxmodx>
new const sounds_ct[][] = {"sound/misc/kiedy.mp3","sound/misc/stronger.mp3","sound/misc/comin.mp3","sound/misc/powrot.mp3","sound/misc/sos.mp3"}
new const sounds_terro[][] = {"sound/misc/karamba.mp3","sound/misc/king.mp3","sound/misc/fight.mp3","sound/misc/rhplus.mp3","sound/misc/niedacitego.mp3"}
public plugin_init()
{
register_plugin("RoundSoundy","1","Sal")
register_event("SendAudio", "ct", "a", "2&%!MRAD_ctwin")
register_event("SendAudio", "terro", "a", "2&%!MRAD_terwin")
}
public plugin_precache()
{
new i
for(i = 0; i < sizeof sounds_ct; i++)
precache_generic(sounds_ct[i])
new u
for(u = 0; u < sizeof sounds_terro; u++)
precache_generic(sounds_terro[u])
}
public ct()
{
client_cmd(0,"stopsound")
client_cmd(0, "mp3 stop")
client_cmd(0, "mp3 play %s", sounds_ct[random_num(0, charsmax(sounds_ct))] )
}
public terro()
{
client_cmd(0,"stopsound")
client_cmd(0, "mp3 stop")
client_cmd(0, "mp3 play %s", sounds_terro[random_num(0, charsmax(sounds_terro))] )
}
|