Problem leży w tym ze niema ani napisów ani muzyki, na say wyswietla sie co jakis czas ta wiadomosc "[Cvg.xaa.pl]^x01 Aby wylaczyc muzyke wpisz -^x04 /roundsound" ale ani muzyki ani napisow[plugin dobrze sie kompiluje]
proszę o pomoc
#include <amxmodx>
#include <ColorChat>
#define PLUGIN "RS1"
#define VERSION "1.0"
#define AUTHOR "Rafal_94"
new bool:said[33];
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /roundsound", "Blokuj");
register_logevent("muza", 2, "1=Round_End");
set_task(180.0, "Reklama",_,_,_,"b");
}
public Reklama()
{
ColorChat(0, GREEN, "[Cvg.xaa.pl]^x01 Aby wylaczyc muzyke wpisz -^x04 /roundsound")
}
public Blokuj(id)
{
said[id] = true
}
public client_disconnect(id)
{
said[id] = false
}
public muza()
{
client_cmd(0, "stopsound")
client_cmd(0, "mp3 stop")
new rand = random_num(0,19)
new players[32], num
get_players(players, num)
for(new id = 0; id < num; id++)
{
if(is_user_connected(id) && said[id] == false)
{
switch(rand)
{
case 0:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/1.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 David Guetta - Turn Me On ft. Nicki Minaj")
}
case 1:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/2.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Trzeci Wymiar - Zlap za bron")
}
case 2:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/3.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Bas Tajpan - Moje Dziewczyny")
}
case 3:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/4.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Arek Kopaczewski - Cały płone")
}
case 4:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/5.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 3oda Kru - Chillout")
}
case 5:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/6.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Grubson - Spiesz się powoli")
}
case 6:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/7.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Jamal - Policeman")
}
case 7:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/8.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Mesajah - Jest ladna i cwana")
}
case 8:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/9.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Romano & Sapienza feat. Rodriguez - Tacata")
}
case 9:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/10.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Lerek feat. Nowator - Moja Panienka")
}
case 10:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/11.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Mozesz - Byc Kim Chcesz")
}
case 11:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/12.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Nieznany")
}
case 12:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/13.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Nieznany")
}
case 13:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/14.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Aneela Feat Arash - Chori Chori (Ali Payami Rmx)")
}
case 14:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/15.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Adam Lambert - Whataya want from me")
}
case 15:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/16.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Moosak & Duże Pe - Na Raz (Senk Ze Cover)")
}
case 16:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/17.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Nieznany")
}
case 17:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/18.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Nieznany")
}
case 18:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/19.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 GrubSon- Przestan sie bac")
}
case 19:
{
client_cmd(id, "mp3 play sound/Cvgxaapl[FFABF2]/RS1/20.mp3")
ColorChat(id, GREEN, "[Cvg.xaa.pl] ^x01 Teraz gramy ^x04 Grubson - Porobi Cie")
}
}
}
}
}
public plugin_precache()
{
precache_sound("Cvgxaapl[FFABF2]/RS1/1.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/2.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/3.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/4.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/5.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/6.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/7.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/8.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/9.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/10.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/11.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/12.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/13.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/14.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/15.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/16.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/17.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/18.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/19.mp3")
precache_sound("Cvgxaapl[FFABF2]/RS1/20.mp3")
return PLUGIN_CONTINUE
}