Downloadam Sank Sound :
=> AmXMoDX Plugin Download
=> AdminMoD Plugin Download
AmxModX :
- Sank_sounds.amxx il pui in amxmodx/plugins, dupa aceea intri in amxmodx/configs/plugins.ini si te duci jos de tot si scri urmatoare linie : sank_sounds.amxx
- Fisierul SND-LIST in care pui sunetele, il pui in amxmodx/configs : love.wav;misc/gtg.wav
Cod:
SND_DELAY; 0.0
SND_SPLIT; 0
EXACT_MATCH; 1
ADMINS_ONLY; 0
DISPLAY_KEYWORDS; 1
# Word/Wav combinations:
woohoo; misc/woohoo.wav;misc/woohoo2.wav
crap; misc/awwcrap.wav;misc/awwcrap2.wav;misc/awwman.wav
ha ha; misc/haha.wav
doh;
misc/doh.wav;misc/doh2.wav;misc/doh3.wav;misc/doh4.wav;misc/doh5.wav;misc/doh7.wav;misc
/dohoo.wav;misc/dohnuts.wav
bud; misc/bud.wav;misc/weis.wav;misc/er.wav
ouch; misc/ow.wav
we're doomed; misc/doomed.wav
run mr. taliban; misc/taliban.wav
osama bin laden; misc/taliban.wav
airforce is coming; misc/taliban.wav
aol; misc/aol.wav
schoki; misc/schoki.wav
idiot; misc/idiot.wav
gg; misc/gg.wav
ghost; misc/ghost.wav
tampit; misc/tampit.wav
buzna; misc/buzna.wav
do it; misc/doit.wav
feel; misc/feelgood.wav
berea; misc/berea.wav
alo; misc/alo.wav
aleluia; misc/alleluja.wav
brb; misc/beback.wav
mosule; misc/moshule.wav
worms; misc/worms.wav
la revedere; misc/revedere.wav
lol; misc/lol.wav;misc/lol2.wav;misc/lol3.wav
nana; misc/nana.wav
shut up; misc/shutup.wav
stfu; misc/stfu.wav
piss; piss/pissing.wav
curci; misc/curci.wav
destept; misc/destept.wav
gtg; misc/gtg.wav
plant it; "plant it";
target; "target destroyed"
- Ca sa adaugi un sunet folosesti comanda amx_sound_add jokero;misc/jokero sau intri in SNDLIST si adaugi sunete cum sunt adaugate mai sus : jokero; misc/jokero.wav
- Sunetele le pui in sounds/misc , cred ca asta stii
- Asta e tot, dai un restart sa server si ar trebui sa mearga
Admin Mod :
- plugin_sank_sounds.sma il pui addons/adminmod/scripting/examples/ si pe urma executi : compile_all.batch
- Pe urma intri in addons/adminmod/scripting/binaries si ai sa gasesti un fisier numit plugin_sank_sounds.amx pe care il iei si-l pui in addons/scripts pe urma intri in addons/adminmod/config/plugins.ini si treci linia : addons/adminmod/scripts/plugin_sank_sounds.amx
- Fisierul SND-LIST in care pui sunetele, il pui in addons/adminmod/config/ : # TimeStamp: 00:58 November 13, 2002
# File created by: Sank
# Important parameters:
SND_MAX; 20
SND_WARN; 17
SND_JOIN;
SND_EXIT; misc\comeagain.wav
SND_PUNISH; admin_slap
SND_DELAY; 0
SND_SPLIT; 0
EXACT_MATCH; 1
# Word/Wav combinations:
# The '@' symbol signifies an admin-only sound
woohoo; misc\woohoo.wav;misc\woohoo2.wav
crap; misc\awwcrap.wav;misc\awwcrap2.wav;misc\awwman.wav
ha ha; misc\haha.wav
doh;
misc\doh.wav;misc\doh2.wav;misc\doh3.wav;misc\doh4.wav;misc\doh5.wav;misc\doh7.w
av;@misc\dohoo.wav;@misc\dohnuts.wav
bud; misc\bud.wav;misc\weis.wav;misc\er.wav
ouch; misc\ow.wav
@we're doomed; misc\doomed.wav
plant it; "plant it";
target; "target destroyed"
- Ca sa adaugi un sunet folosesti comanda admin_sound_add haha;misc\haha.wav
- Sau poti sa intri in snd-list si treci linia : haha ;misc\haha.wav
- Sunetele din acea arhiva le pui in sound\misc si daca mai vrei si alte sunete dule in sound\misc si fa in rest ca mai sus .
- Si ca sa fii sigur ca merge dai un restart la server
- Pentru melodiile format MP3, Folositi pluginul : #include <amxmodx>
#include <amxmisc>
#include <engine>
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()
{
**new rand = random_num(0,2)
**client_cmd(0,"mp3 stop")
**switch(rand)
**{
****case 0: client_cmd(0,"mp3 play sound/rsc002/rsc_t_win_1")
****case 1: client_cmd(0,"mp3 play sound/rsc002/rsc_t_win_2")
****case 2: client_cmd(0,"mp3 play sound/rsc002/rsc_t_win_3")
**}
**return PLUGIN_CONTINUE
}
public ct_win()
{
**new rand = random_num(0,2)
**client_cmd(0,"mp3 stop")
**switch(rand)
**{
****case 0: client_cmd(0,"mp3 play sound/rsc002/rsc_ct_win_1")
****case 1: client_cmd(0,"mp3 play sound/rsc002/rsc_ct_win_2")
****case 2: client_cmd(0,"mp3 play sound/rsc002/rsc_ct_win_3")
**}
**return PLUGIN_CONTINUE
}
public plugin_precache()
{
**precache_sound("rsc002/rsc_t_win_1.mp3")
**precache_sound("rsc002/rsc_t_win_2.mp3")
**precache_sound("rsc002/rsc_t_win_3.mp3")
**precache_sound("rsc002/rsc_ct_win_1.mp3")
**precache_sound("rsc002/rsc_ct_win_2.mp3")
**precache_sound("rsc002/rsc_ct_win_3.mp3")
**return PLUGIN_CONTINUE
}
Finish ! Bft