Raised This Month: $ Target: $400
 0% 

Solved Block message when someone types ff in chat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Watermelonnable
Member
Join Date: Feb 2017
Old 12-04-2019 , 11:27   Block message when someone types ff in chat
Reply With Quote #1

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(PLUGINVERSIONAUTHOR);
    
register_clcmd("say ff""BlockFF");
    
register_clcmd("say_team ff""BlockFF")
}

public 
BlockFF()
{
    return 
PLUGIN_HANDLED_MAIN;

Any hint to achieve this? Thank you!

Last edited by Watermelonnable; 12-04-2019 at 18:16.
Watermelonnable 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:44.


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