Raised This Month: $ Target: $400
 0% 

Dead Chat


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Merc3y
Member
Join Date: Dec 2009
Old 06-02-2010 , 08:18   Dead Chat
Reply With Quote #1

Guys, I found this in one of the thread.

PHP Code:
#include < amxmodx >

new g_iMsgSayText;

public 
plugin_init( ) {
    
register_plugin"Ghost Chat""1.0""xPaw" );
    
    
g_iMsgSayText get_user_msgid"SayText" );
    
    
register_event"SayText""EventSayText""b""2&#Cstrike_Chat_All" );
}

public 
EventSayText( const id ) {
    if( 
id != read_data) )
        return;
    
    new 
szChannel22 ], iPlayers32 ], iNum;
    
read_data2szChannel21 );
    
    
get_playersiPlayersiNumszChannel17 ] ? "ach" "bch" );
    
    if( !
iNum )
        return;
    
    new 
szMessage192 ], iPlayer;
    
read_data4szMessage191 );
    
    for( new 
iiNumi++ ) {
        
iPlayer iPlayers];
        
        if( !( 
get_user_flagsiPlayer ) & ADMIN_CHAT ) )
            continue;
        
        
message_beginMSG_ONE_UNRELIABLEg_iMsgSayText_iPlayer );
        
write_byteid );
        
write_stringszChannel );
        
write_string"" );
        
write_stringszMessage );
        
message_end( );
    }
}

Howeverthis only enable admins to see dead chatButI want it also enemy dead team chat or teammate when they are dead
__________________
How I Wish That I Can Host Without Any Problem.
Merc3y is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-02-2010 , 15:44   Re: Dead Chat
Reply With Quote #2

Quote:
However, this only enable admins to see dead chat. But, I want it also enemy dead team chat or teammate when they are dead.
o.O?

But without any plugin... dead people and dead teammate people can see dead message. Or maybe i didn't understand you?
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
majinbu
Junior Member
Join Date: May 2010
Old 06-03-2010 , 06:55   Re: Dead Chat
Reply With Quote #3

Quote:
Originally Posted by Alucard^ View Post
o.O?

But without any plugin... dead people and dead teammate people can see dead message. Or maybe i didn't understand you?
he meant that if the admin is alive, only admins can see deadchats while normal player who are alive can't see dead chat.
majinbu is offline
Merc3y
Member
Join Date: Dec 2009
Old 06-03-2010 , 19:14   Re: Dead Chat
Reply With Quote #4

Quote:
Originally Posted by majinbu View Post
he meant that if the admin is alive, only admins can see deadchats while normal player who are alive can't see dead chat.
No, I meant this currently plugin let the admins( ALIVE ) see the players( DEAD ) chat. However, I want it advanced enables admins( ALIVE ) to see players( DEAD ) teamchat also.
__________________
How I Wish That I Can Host Without Any Problem.
Merc3y is offline
Reply



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 05:27.


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