Serwery wiaderko.com Zwiń / Rozwiń kategorię

HashJama [TP] 193.33.176.148:27015 | tp.wiaderko.com status serwera HashJama [TP] połącz

HashJama CS:GO [DM] 193.33.176.53:27015 | dm.wiaderko.com status serwera HashJama CS:GO [DM] połącz

HashJama CS:GO [FFA] 193.33.176.15:27015 | ffa.wiaderko.com status serwera HashJama CS:GO FFA [FFA] połącz

HashJama [TeamSpeak 3] 62.210.99.220:9987 | ts.wiaderko.com status serwera HashJama [TP ELITE] 62.210.99.220:27015 połącz

SPONSOR:
pukawka.pl

Nabór na JUNIOR ADMINA forum - Więcej informacji > Klik <
Pokaż wyniki od 1 do 4 z 4
  1. #1
    Lamka Awatar Rooney1996
    Dołączył
    Dec 2007
    Posty
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Domyślnie Problem z pluginem roundsound

    Witam ściągnołem roundsound by b@kus wszystko działa lecz chciałem dodać troche innych piosenek nie moge skompilować pluginu

    Oto plugin :

    #include <amxmodx>

    new const sounds_ct[][] = {"sound/misc/go1.mp3","sound/misc/go2.mp3","sound/misc/go3.mp3","sound/misc/go4.mp3","sound/misc/go9.mp3","sound/misc/go12.mp3}

    new const sounds_terro[][] = {"sound/misc/go5.mp3","sound/misc/go6.mp3","sound/misc/go7.mp3","sound/misc/go8.mp3,"sound/misc/go10.mp3","sound/misc/go11.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))] )
    }


    Wyskakują takie błedy

    Your plugin failed to compile! Read the errors below:

    Welcome to the AMX Mod X 1.8.1-300 Compiler.
    Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

    /home/groups/amxmodx/tmp3/text4C0Ouz.sma(3) : error 037: invalid string (possibly non-terminated string)
    /home/groups/amxmodx/tmp3/text4C0Ouz.sma(5) : error 001: expected token: "}", but found "new"
    /home/groups/amxmodx/tmp3/text4C0Ouz.sma(5) : error 001: expected token: "}", but found "-identifier-"

    3 Errors.
    Could not locate output file /home/groups/amxmodx/public_html/websc3/text4C0Ouz.amx (compile failed).

    Prosze o pomoc
    Ostatnio edytowane przez Rooney1996 ; 15-06-2009 o 19:54

  2. #2
    Adminus pospolitus Awatar naven
    Dołączył
    Jan 2008
    Wiek
    25
    Posty
    10,802
    Thanks
    31
    Thanked 652 Times in 605 Posts

    Domyślnie Odp: Problem z pluginem roundsound

    "sound/misc/go12.mp3}
    tylko zmienne typu string nie potrzebują cudzysłowu, musisz zamknąć
    Najlepszy hosting Hidden Content href="Hidden Content target="_blank">tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na Hidden Content

    "At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.

  3. #3
    Lamka Awatar Rooney1996
    Dołączył
    Dec 2007
    Posty
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Domyślnie Odp: Problem z pluginem roundsound

    Nie działa

    #include <amxmodx>

    new const sounds_ct[][] = {"sound/misc/go1.mp3","sound/misc/go2.mp3","sound/misc/go3.mp3","sound/misc/go4.mp3","sound/misc/go9.mp3","sound/misc/go12.mp3"}

    new const sounds_terro[][] = {"sound/misc/go5.mp3","sound/misc/go6.mp3","sound/misc/go7.mp3","sound/misc/go8.mp3,"sound/misc/go10.mp3","sound/misc/go11.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))] )
    }







    /home/groups/amxmodx/tmp3/textrHBuMh.sma(5) : error 001: expected token: "}", but found "-identifier-"

    1 Error.
    Could not locate output file /home/groups/amxmodx/public_html/websc3/textrHBuMh.amx (compile failed).
    Ostatnio edytowane przez Rooney1996 ; 19-06-2009 o 20:16

  4. #4
    Adminus pospolitus Awatar naven
    Dołączył
    Jan 2008
    Wiek
    25
    Posty
    10,802
    Thanks
    31
    Thanked 652 Times in 605 Posts

    Domyślnie Odp: Problem z pluginem roundsound

    new const sounds_terro[][] = {"sound/misc/go5.mp3","sound/misc/go6.mp3","sound/misc/go7.mp3","sound/misc/go8.mp3","sound/misc/go10.mp3","sound/misc/go11.mp3"}

    trzeba się przyjrzeć dokładnie
    Najlepszy hosting Hidden Content href="Hidden Content target="_blank">tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na Hidden Content

    "At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.

  5. The Following User Says Thank You to naven For This Useful Post:


Podobne wątki

  1. Problem z pluginem VIP
    By tYsU^ in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 1
    Ostatni post / autor: 27-01-2011, 16:20
  2. Problemy z pluginem roundsound
    By KNR in forum Amx Mod X
    Odpowiedzi: 5
    Ostatni post / autor: 23-04-2008, 21:07
  3. roundsound problem z pluginem
    By Leja in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 1
    Ostatni post / autor: 09-03-2008, 20:32
  4. Problem z pluginem
    By Hide in forum Amx Mod X
    Odpowiedzi: 8
    Ostatni post / autor: 25-02-2008, 23:37
  5. Problem z pluginem....
    By damian131 in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 7
    Ostatni post / autor: 09-01-2008, 18:05
  6. Problem z pluginem
    By szpaner in forum Amx Mod X
    Odpowiedzi: 9
    Ostatni post / autor: 12-12-2007, 15:58
  7. Problem z pluginem
    By proks in forum Amx Mod X
    Odpowiedzi: 20
    Ostatni post / autor: 06-12-2007, 23:34
  8. Problem z pluginem
    By ERF in forum Amx Mod X
    Odpowiedzi: 0
    Ostatni post / autor: 27-10-2007, 19:58
  9. problem z Pluginem "roundsound"
    By Szatan in forum Amx Mod X
    Odpowiedzi: 4
    Ostatni post / autor: 19-10-2007, 14:52
  10. Problem z pluginem
    By Hummer in forum Amx Mod X
    Odpowiedzi: 10
    Ostatni post / autor: 05-10-2007, 17:32

Odwiedzający poszukiwali:

could not locate output file

could not locate output file homegroupsamxmodxcould not locate output file homegroupsamxmodxpublic_htmlwebsc3plugin roundsound instalacja

Uprawnienia umieszczania postów

  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •