Buyur, sma yı editleyerek müziğin adını değiştirebilirsin.direk sounda at.
- - - - - - - - - -Kod:#include <amxmodx> #include <amxmisc> #define PLUGIN "Son Mahkum Haber Verme" #define VERSION "1.0" #define AUTHOR "Unkonw" new const aa[] = { "music.wav" } public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event( "DeathMsg", "event_dmsg", "a" ); } public plugin_precache() { precache_sound(aa) } public event_dmsg() { new victim = read_data( 2 ); if( get_user_team( victim ) == 1 ) { new players[ 32 ], pnum; get_players( players, pnum, "ae", "TERRORIST" ); if( pnum == 1 ) { set_hudmessage( 0, 255, 0, -1.0, -1.0, 0, 6.0, 25.0 ); show_hudmessage( players[ 0 ], "Hayatta kalan son mahkumsun! [ L ] tusuna basip CT ile VS at." ); emit_sound(0, CHAN_AUTO, aa, VOL_NORM, ATTN_NORM , 0, PITCH_NORM) } } }
Biraz dağınık oldu dosya ekte.


LinkBack URL
About LinkBacks
Alıntı
