round sound.
Bargor
25.03.2009
Wrzuciłem pierwszego lepszego roundsounda i jak ktoś wygra to gra muzyka.
Ja ją słyszę ale inni nie.
im nie chce się w ogóle pobrać ta muzyka, dlaczego?
i dlazcego nie mam głosów typu Hedshot?
p.s Jak zmienić text powitalny?
Ja ją słyszę ale inni nie.
im nie chce się w ogóle pobrać ta muzyka, dlaczego?
i dlazcego nie mam głosów typu Hedshot?
p.s Jak zmienić text powitalny?
Bargor
25.03.2009
#include <amxmodx> new const sounds_ct[][] = {"sound/misc/amxx.pl/ctt1.mp3","sound/misc/amxx.pl/ctt2.mp3","sound/misc/amxx.pl/ctt3.mp3","sound/misc/amxx.pl/ctt4.mp3","sound/misc/amxx.pl/ctt5.mp3"} new const sounds_terro[][] = {"sound/misc/amxx.pl/ttt1.mp3","sound/misc/amxx.pl/ttt2.mp3","sound/misc/amxx.pl/ttt3.mp3","sound/misc/amxx.pl/ttt4.mp3","sound/misc/amxx.pl/ttt5.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))] ) }