Raised This Month: $ Target: $400
 0% 

announce frags and deaths with voice


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 11-22-2013 , 11:27   Re: announce frags and deaths with voice
Reply With Quote #1

Also the not all sounds are there. But it's possible to improvise.
PHP Code:
#define SPK_YOUR_SCORE_IS "your(e75) screen(e35) before(s35) is"
#define SPK_KILLS "kill(e64) safe(e10)"
#define SPK_KILL "kill"
#define SPK_AND "and"
#define SPK_DEATH "delta(e30) f(s60)"
#define SPK_DEATHS "delta(e30) f(s65) safe(e10)" 

speak_score(iPlrIdiKillsNumiDeathsNum)
{
    new 
iKills[64], iDeaths[64];
    
num_to_word(iKillsNumiKills63);
    
num_to_word(iDeathsNumiDeaths63);
    
    
client_cmd(iPlrId"spk ^"vox/%%%s _comma and %%s^""SPK_YOUR_SCORE_ISiKills, ((iKillsNum==1)?SPK_KILL:SPK_KILLS),
     
iDeaths, ((iDeathsNum==1)?SPK_DEATH:SPK_DEATHS));

That's the best I could get for words "death" and "deaths".
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 11-22-2013 at 11:28.
MPNumB is offline
Send a message via Skype™ to MPNumB
Reply



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 23:12.


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