PHP Code:
register_event("SayText", "Event_SayText_Chat", "bc", "2&#Cstrike_Chat_")
PHP Code:
public Event_SayText_Chat( iReceiver )
{
new iSender = read_data(1)
new szMessage[256]
read_data(4, szMessage, charsmax(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.
__________________