Hello guys.
I want to block the message that appears when someone types "ff" in the chat (Friendly fire: on/off) because smart players of the mode I'm working on exploit this to tell the alive players who's the enemy.
I thought this would be enough but it didn't work.
PHP Code:
#include <amxmodx>
#define PLUGIN "TTT - Block FF Command"
#define VERSION "1.0"
#define AUTHOR "Watermelonnable"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_clcmd("say ff", "BlockFF");
register_clcmd("say_team ff", "BlockFF")
}
public BlockFF()
{
return PLUGIN_HANDLED_MAIN;
}
Any hint to achieve this? Thank you!