Raised This Month: $ Target: $400
 0% 

Block T/CT Win and Hostages has not been rescued messages


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RapZzw3rR
Member
Join Date: May 2012
Location: Romania
Old 05-19-2012 , 09:31   Re: Block T/CT Win and Hostages has not been rescued messages
Reply With Quote #3

PHP Code:
public plugin_init( )

    
register_message(get_user_msgid("TextMsg"), "msgTextMsg");

PHP Code:
public msgTextMsg( )
{
    static 
sz_TextMsg[22];
    
get_msg_arg_string(2sz_TextMsg21);
    
    if( 
equal(sz_TextMsg"#Terrorists_Win") )
    {
        return 
PLUGIN_HANDLED;
    }
    else if( 
equal(sz_TextMsg"#CTs_Win") )
    {
        return 
PLUGIN_HANDLED;
    }
    else if( 
equal(sz_TextMsg"#Hostages_Not_Rescued") )
    {
        return 
PLUGIN_HANDLED;
    }
    
    return 
PLUGIN_CONTINUE;

Is correctly?

Last edited by RapZzw3rR; 05-19-2012 at 09:34.
RapZzw3rR 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 00:26.


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