something like that !
im not tested
PHP Code:
#include <amxmodx>
public plugin_init() {
register_message(get_user_msgid("TextMsg"), "msgTextMsg");
}
public msgTextMsg(msgid, msgdest, msgent) {
new sz[80]
get_msg_arg_string(2, sz, 79)
if(containi(sz, "has left the game") != -1)
return PLUGIN_HANDLED
return PLUGIN_CONTINUE
}
__________________