Raised This Month: $ Target: $400
 0% 

Hooking say and say_team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-21-2010 , 04:16   Re: Hooking say and say_team
Reply With Quote #4

PHP Code:
register_event("SayText""Event_SayText_Chat""bc""2&#Cstrike_Chat_"
PHP Code:
public Event_SayText_ChatiReceiver )
{
    new 
iSender read_data(1)
    new 
szMessage[256]
    
read_data(4szMessagecharsmax(szMessage))


What are you trying to do ?


If you use fysiks way, then you have to declare your plugin at the bottom of plugins.ini (and make sure there is not any plugins-XXX.ini in configs folder).


My way catch chat that is not blocked by plugin via PLUGIN_HANDLED or PLUGIN_HANDLED_MAIN
fysiks way will also catch chat blocked with PLUGIN_HANDLED_MAIN.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-21-2010 at 04:20.
ConnorMcLeod 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 23:37.


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