Raised This Month: $ Target: $400
 0% 

announce frags and deaths with voice


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-20-2013 , 09:55   announce frags and deaths with voice
Reply With Quote #1

PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

public plugin_init() {
 
register_plugin(PLUGINVERSIONAUTHOR)
 
 
// Add your code here...
 
register_clcmd("say /speakscroe" "playerinfo"
}
public 
playerinfo(id)
{
 new 
voice[3][33]
 new 
kills
 kills 
get_user_frags(id)
 new 
deaths
 deaths 
get_user_deaths(id)
 
 
num_to_word(killsvoice[1], 32)
 
num_to_word(deathsvoice[2] , 32)
 
 return 
format(voice[2],32,"spk ^"vox/%s kills and %s deaths^""killsdeaths);

In this plugin.... when a player says /showscore, a voice announces the score....
the .sma file compiled without error but the plugin "speaks" nothing.....
please can anyone debug it
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
 



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