Jump to content
GIGN Forum

Help


Keda*likeYO
 Share

Recommended Posts

//RoundSound.amxx -by PaintLancer

#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/twinneja1.wav")

case 1: client_cmd(0,"spk misc/twinneja2.wav")

case 2: client_cmd(0,"spk misc/twinneja4.wav")

case 3: client_cmd(0,"spk misc/twinneja5.wav")

case 4: client_cmd(0,"spk misc/twinneja6.wav")

case 5: client_cmd(0,"spk misc/twinneja6.wav")

case 6: client_cmd(0,"spk misc/twinneja7.wav")

case 7: client_cmd(0,"spk misc/twinneja8.wav")

case 8: client_cmd(0,"spk misc/twinneja9.wav")

}

return PLUGIN_HANDLED

}

public ct_win()

{

new rand = random_num(0,2)

client_cmd(0,"stopsound")

switch(rand)

{

case 0: client_cmd(0,"spk misc/ctwinneja1.wav")

case 1: client_cmd(0,"spk misc/ctwinneja2.wav")

case 2: client_cmd(0,"spk misc/ctwinneja3.wav")

case 3: client_cmd(0,"spk misc/ctwinneja4.wav")

case 4: client_cmd(0,"spk misc/ctwinneja5.wav")

case 5: client_cmd(0,"spk misc/ctwinneja6.wav")

case 6: client_cmd(0,"spk misc/ctwinneja7.wav")

case 7: client_cmd(0,"spk misc/ctwinneja8.wav")

case 8: client_cmd(0,"spk misc/ctwinneja9.wav")

case 9: client_cmd(0,"spk misc/ctwinneja10.wav")

}

return PLUGIN_HANDLED

}

public plugin_precache()

{

precache_sound(0,"spk misc/ctwinneja1.wav")

precache_sound(0,"spk misc/ctwinneja2.wav")

precache_sound(0,"spk misc/ctwinneja3.wav")

precache_sound(0,"spk misc/ctwinneja4.wav")

precache_sound(0,"spk misc/ctwinneja5.wav")

precache_sound(0,"spk misc/ctwinneja6.wav")

precache_sound(0,"spk misc/ctwinneja7.wav")

precache_sound(0,"spk misc/ctwinneja8.wav")

precache_sound(0,"spk misc/ctwinneja9.wav")

precache_sound(0,"spk misc/ctwinneja10.wav")

return PLUGIN_CONTINUE

}

//RoundSound.amxx -by PaintLancer

#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/twinneja1.wav")

case 1: client_cmd(0,"spk misc/twinneja2.wav")

case 2: client_cmd(0,"spk misc/twinneja4.wav")

case 3: client_cmd(0,"spk misc/twinneja5.wav")

case 4: client_cmd(0,"spk misc/twinneja6.wav")

case 5: client_cmd(0,"spk misc/twinneja6.wav")

case 6: client_cmd(0,"spk misc/twinneja7.wav")

case 7: client_cmd(0,"spk misc/twinneja8.wav")

case 8: client_cmd(0,"spk misc/twinneja9.wav")

}

return PLUGIN_HANDLED

}

public ct_win()

{

new rand = random_num(0,2)

client_cmd(0,"stopsound")

switch(rand)

{

case 0: client_cmd(0,"spk misc/ctwinneja1.wav")

case 1: client_cmd(0,"spk misc/ctwinneja2.wav")

case 2: client_cmd(0,"spk misc/ctwinneja3.wav")

case 3: client_cmd(0,"spk misc/ctwinneja4.wav")

case 4: client_cmd(0,"spk misc/ctwinneja5.wav")

case 5: client_cmd(0,"spk misc/ctwinneja6.wav")

case 6: client_cmd(0,"spk misc/ctwinneja7.wav")

case 7: client_cmd(0,"spk misc/ctwinneja8.wav")

case 8: client_cmd(0,"spk misc/ctwinneja9.wav")

case 9: client_cmd(0,"spk misc/ctwinneja10.wav")

}

return PLUGIN_HANDLED

}

public plugin_precache()

{

precache_sound(0,"spk misc/ctwinneja1.wav")

precache_sound(0,"spk misc/ctwinneja2.wav")

precache_sound(0,"spk misc/ctwinneja3.wav")

precache_sound(0,"spk misc/ctwinneja4.wav")

precache_sound(0,"spk misc/ctwinneja5.wav")

precache_sound(0,"spk misc/ctwinneja6.wav")

precache_sound(0,"spk misc/ctwinneja7.wav")

precache_sound(0,"spk misc/ctwinneja8.wav")

precache_sound(0,"spk misc/ctwinneja9.wav")

precache_sound(0,"spk misc/ctwinneja10.wav")

return PLUGIN_CONTINUE

}

vai viss sheit pareizi es izdariju zisu bet neiet nekas neskan kads va palidzet plzz??? smiliez.de_2524.gif

Link to comment
Share on other sites

njaa nekas nesanak ieliku visu izdariju bet nekaa sad.gif kkas neshtimme,tur ir kads akis, varbut nau uzlikst allowdownload bet es nemaku vinju uzlikt,konsule rada kad itka vir bet acim redzot ir kada vaina confused.gif un vaina ir ta ka citi tas skanjas nevar noka4at wo kas man butu jadara lai vinji vinjas varetu noka4aat?? plz palidzat

Edited by Keda*likeYO
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...