Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Nie działa inny roundsound


  • Zamknięty Temat jest zamknięty
1 odpowiedź w tym temacie

#1 rafal1813

    Profesjonalista

  • Użytkownik

Reputacja: 2
Nowy

  • Postów:171
  • Imię:rysiek
  • Lokalizacja:kraków
Offline

Napisano 25.03.2011 16:21

Witam mam problem z tym oto roundsoudem działają tylko 3 piosenki pobrane razem z pluginem a te moje nie chca działać nic sie nie pokazuje w logach
oto sma mojego roundsouda
#include <amxmodx>

public plugin_init()
{
register_plugin("RoundSound","1.0","PaintLancer")
register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")
register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin")
}

public t_win(id)
{
new rand = random_num(0,17)

client_cmd(id,"mp3 stop")

switch(rand)
{
case 0: client_cmd(id,"mp3 play sound/misc/urwal/california.mp3")
case 1: client_cmd(id,"mp3 play sound/misc/urwal/c-bool-bodysoul.mp3")
case 2: client_cmd(id,"mp3 play sound/misc/urwal/czarnoczarni-nogi.mp3")
case 3: client_cmd(id,"mp3 play sound/misc/urwal/darude-sandstorm.mp3")
case 4: client_cmd(id,"mp3 play sound/misc/urwal/djscotty-insomnia.mp3")
case 5: client_cmd(id,"mp3 play sound/misc/urwal/donguralesko-gopoznan.mp3")
case 6: client_cmd(id,"mp3 play sound/misc/urwal/evanescence-bring-me-to-life.mp3")
case 7: client_cmd(id,"mp3 play sound/misc/urwal/fort-minor-remember-the-name.mp3")
case 8: client_cmd(id,"mp3 play sound/misc/urwal/inna-sunisup.mp3")
case 9: client_cmd(id,"mp3 play sound/misc/urwal/jamal-policeman.mp3")
case 10: client_cmd(id,"mp3 play sound/misc/urwal/katerine-treat-me-like-a-lady.mp3")
case 11: client_cmd(id,"mp3 play sound/misc/urwal/kesha-takeitoff.mp3")
case 12: client_cmd(id,"mp3 play sound/misc/urwal/lena-satellite.mp3")
case 13: client_cmd(id,"mp3 play sound/misc/urwal/mohombi-bumpyride.mp3")
case 14: client_cmd(id,"mp3 play sound/misc/urwal/mrozu-miliony-monet.mp3")
case 15: client_cmd(id,"mp3 play sound/misc/urwal/soccer-skills.mp3")
case 16: client_cmd(id,"mp3 play sound/misc/urwal/taio-cruz-dynamite.mp3")
case 17: client_cmd(id,"mp3 play sound/misc/urwal/katy-perry-teenage-dream.mp3")
}

return PLUGIN_HANDLED
}

public ct_win(id)
{
new rand = random_num(0,17)

client_cmd(id,"mp3 stop")

switch(rand)
{
case 0: client_cmd(id,"mp3 play sound/misc/urwal/california.mp3")
case 1: client_cmd(id,"mp3 play sound/misc/urwal/c-bool-bodysoul.mp3")
case 2: client_cmd(id,"mp3 play sound/misc/urwal/czarnoczarni-nogi.mp3")
case 3: client_cmd(id,"mp3 play sound/misc/urwal/darude-sandstorm.mp3")
case 4: client_cmd(id,"mp3 play sound/misc/urwal/djscotty-insomnia.mp3")
case 5: client_cmd(id,"mp3 play sound/misc/urwal/donguralesko-gopoznan.mp3")
case 6: client_cmd(id,"mp3 play sound/misc/urwal/evanescence-bring-me-to-life.mp3")
case 7: client_cmd(id,"mp3 play sound/misc/urwal/fort-minor-remember-the-name.mp3")
case 8: client_cmd(id,"mp3 play sound/misc/urwal/inna-sunisup.mp3")
case 9: client_cmd(id,"mp3 play sound/misc/urwal/jamal-policeman.mp3")
case 10: client_cmd(id,"mp3 play sound/misc/urwal/katerine-treat-me-like-a-lady.mp3")
case 11: client_cmd(id,"mp3 play sound/misc/urwal/kesha-takeitoff.mp3")
case 12: client_cmd(id,"mp3 play sound/misc/urwal/lena-satellite.mp3")
case 13: client_cmd(id,"mp3 play sound/misc/urwal/mohombi-bumpyride.mp3")
case 14: client_cmd(id,"mp3 play sound/misc/urwal/mrozu-miliony-monet.mp3")
case 15: client_cmd(id,"mp3 play sound/misc/urwal/soccer-skills.mp3")
case 16: client_cmd(id,"mp3 play sound/misc/urwal/taio-cruz-dynamite.mp3")
case 17: client_cmd(id,"mp3 play sound/misc/urwal/katy-perry-teenage-dream.mp3")
}

return PLUGIN_HANDLED
}

public plugin_precache()
{
precache_sound("misc/urwal/california.mp3")
precache_sound("misc/urwal/c-bool-bodysoul.mp3")
precache_sound("misc/urwal/czarnoczarni-nogi.mp3")
precache_sound("misc/urwal/darude-sandstorm.mp3")
precache_sound("misc/urwal/djscotty-insomnia.mp3")
precache_sound("misc/urwal/donguralesko-gopoznan.mp3")
precache_sound("misc/urwal/evanescence-bring-me-to-life.mp3")
precache_sound("misc/urwal/fort-minor-remember-the-name.mp3")
precache_sound("misc/urwal/inna-sunisup.mp3")
precache_sound("misc/urwal/jamal-policeman.mp3")
precache_sound("misc/urwal/katerine-treat-me-like-a-lady.mp3")
precache_sound("misc/urwal/kesha-takeitoff.mp3")
precache_sound("misc/urwal/lena-satellite.mp3")
precache_sound("misc/urwal/mohombi-bumpyride.mp3")
precache_sound("misc/urwal/mrozu-miliony-monet.mp3")
precache_sound("misc/urwal/soccer-skills.mp3")
precache_sound("misc/urwal/taio-cruz-dynamite.mp3")
precache_sound("misc/urwal/misc/urwal/katy-perry-teenage-dream.mp3")




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

Co jest nie tak że nie chce działac???
  • +
  • -
  • 0
Dołączona grafika

#2 Mr. Pawlak

    Wygrałeś talon na kurwę i balon

  • Power User

Reputacja: 936
Master

  • Postów:1668
  • GG:
  • Lokalizacja:Mongolia
Offline

Napisano 25.03.2011 16:23

Nie działa Ci roundsound? - AMXX.pl: Support AMX Mod X
  • +
  • -
  • 0




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych