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(PLUGIN, VERSION, AUTHOR)
// 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(kills, voice[1], 32)
num_to_word(deaths, voice[2] , 32)
return format(voice[2],32,"spk ^"vox/%s kills and %s deaths^"", kills, deaths);
}
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
__________________