To tak plugin dzialac dziala ale pod koniec rundy nie ma ROUNDSOUND tak jak by 2 gi plugin blokowal odtwarzanie muzy

PS: Pod koniec rundy cichna all dzwieki które sa w cs np: Terrorist Win itp


Sma roundsound:
#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() { new rand = random_num(0,2) client_cmd(0,"stopsound") switch(rand) { case 0: client_cmd(0,"spk misc/nutka1") case 1: client_cmd(0,"spk misc/nutka2") case 2: client_cmd(0,"spk misc/nutka3") } return PLUGIN_CONTINUE } public ct_win() { new rand = random_num(0,2) client_cmd(0,"stopsound") switch(rand) { case 0: client_cmd(0,"spk misc/nutka4") case 1: client_cmd(0,"spk misc/nutka5") case 2: client_cmd(0,"spk misc/nutka6") } return PLUGIN_CONTINUE } public plugin_precache() { precache_sound("misc/nutka1.mp3") precache_sound("misc/nutka2.mp3") precache_sound("misc/nutka3.mp3") precache_sound("misc/nutka4.mp3") precache_sound("misc/nutka5.mp3") precache_sound("misc/nutka6.mp3") return PLUGIN_CONTINUE }
A to moje pluginy:
; AMX Mod X plugins ; Admin Base - Always one has to be activated admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management maphandler06.amxx ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) ; Chat / Messages adminchat.amxx ; console chat commands ;antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map mapchooser4.amxx timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg2.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike restmenu.amxx ; restrict weapons menu statsx2.amxx ; stats on death or round end (CSX Module required!) miscstats2.amxx ; bunch of events announcement for Counter-Strike ;miscstats.amxx ; bunch of events announcement for Counter-Strike stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Custom - Add 3rd party plugins here ;admin_bury.amxx ;admin_gag.amxx ;adminbeam.amxx ;adminecho.amxx ;adminglow.amxx ;adminshow.amxx aliases.amxx atac.amxx ; new ATAC 3 amxx_atac_cfg.amxx amxx_atac.amxx ;autorestart.amxx ;awpdrop.amxx ;clexec.amxx ;crashmap.amxx ;ff.amxx ;flash.amxx ;fpm.amxx ;godmode2.amxx ;gore.amxx ;helpgen.amxx ;highdmgsshot.amxx ;hostages.amxx ;recorddemo.amxx ;roundsleft.amxx ;shielddrop.amxx ;shutdown.amxx ;slayall.amxx ;swapteam15.amxx ;teamswap.amxx ;voteacess.amxx ;welcomemsg.amxx ;amxx_podbotmenu.amxx ;csdm_mod.amxx ; use it only for CS1.5 ;he_arena.amxx amx_chicken.amxx ;pb_weap_restr_ffa.amxx ;sniperlimit.amxx M_Antirusher.amxx high_ping_kicker.amxx weaponarena.amxx ;ultimate_sounds_PL.amxx sillyc4.amxx polski_cs.amxx bcd_hudtimer.amxx realnadedrops.amxx votekickbanmenu13.amxx descriptive_fire_in_the_hole_PL.amxx spawnprotection.amxx Wynik.amxx flashbang.amxx ;swear_replacement.amxx custom_frags_and_deaths.amxx timeprojector.amxx bot_marker.amxx roundsound.amxx
A na konsoli nic nie ma .... sprawdalem mp3 volume i nic to samo
_________________________
