Raised This Month: $ Target: $400
 0% 

Solved how to block this MSGs ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 04-01-2017 , 14:02   Re: how to block this MSGs ?
Reply With Quote #5

im try : containi() < --dos not work .... and contain() + equal() + equali()

the same thing (
Quote:
==========================
msg_TextMsg(77, 2, 0): + ME! has joined the game

=======================
==========================
msg_TextMsg(77, 1, 1): #Spec_Mode3
=======================
==========================
msg_TextMsg(77, 2, 0): * ME! switched to spectator mode

=======================
==========================
msg_TextMsg(77, 1, 1): Unknown command: -snipe

=======================
==========================
msg_TextMsg(77, 1, 1): #Spec_Mode3
=======================
==========================
msg_TextMsg(77, 1, 1): #Spec_Mode3
=======================
the code :
PHP Code:
public msg_TextMsgmsgiddestid )
{
    static 
text_msg128 ];
    
    
get_msg_arg_string2text_msgcharsmax(text_msg) );
    if (
equal(text_msg"Server limits teams to") != -)
    {
        
        
server_print("========================== ^nmsg_TextMsg(%d, %d, %d): %s ^n======================= "msgiddestidtext_msg);
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE;

and i try to chak :

PHP Code:
register_message(get_user_msgid("SayText"), "msg_TextMsg"
but it hiding all msg (chat + othere msgs)
__________________

Last edited by abdobiskra; 04-01-2017 at 14:05.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
 



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 17:50.


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