i did some work its working fine....
PHP Code:
#include <amxmodx>
public plugin_init() {
register_plugin("Abuse","1.0","N e [X] u $")
register_clcmd( "say", "CheckSay" )
register_clcmd( "say_team", "CheckSay" )
}
public CheckSay(id){
new g_szUserSpeech[32];
new name[32];
get_user_name(id,name,31);
read_args( g_szUserSpeech[id-1],32);
remove_quotes(g_szUserSpeech[id-1]);
if( containi( g_szUserSpeech[id-1], "fuck" ) > -1)
{
client_print( 0, print_chat, "[XTREME-| Server] Player %s Has Been Kicked for Abusing!", name);
server_cmd( "kick #%d ^"Learn Some Manners of Talking!!!^"", get_user_userid(id));
}
}
but now i want to increase some functionality.....
1==> abusive word should be in file n it should check that file for matching,
2==> when user say /abuse it should show a MOTD containing abusive words from that file..
some one please help.......
__________________