Raised This Month: $ Target: $400
 0% 

More headshot sound (random play)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
asdasdka
Junior Member
Join Date: Apr 2009
Old 04-04-2009 , 10:29   More headshot sound (random play)
Reply With Quote #1

if (HeadShotKillSound)
new rand = random_num(0,5)

client_cmd(0,"stopsound")

switch(rand)
{
case 0: client_cmd(killer, "spk misc/headshot")
case 1: client_cmd(victim, "spk misc/headshot")
case 2: client_cmd(killer, "spk misc/headshot10")
case 3: client_cmd(victim, "spk misc/headshot10")
case 4: client_cmd(killer, "spk misc/headshot11")
case 5: client_cmd(victim, "spk misc/headshot11")
}
it's only play one of these sound i copied the var from roundsound xD
and i put into the miscstats.sma whats wrong? pls help!
asdasdka is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode