Поиск Admin can see all chat conversations

Сообщения
237
Реакции
10
Hi.

I'm looking for a separate plugin that makes the admin see all chat conversations.

Apart from adminlisten, because it throws an error log.
 
Сообщения
237
Реакции
10
All players - ct, tt, spec
21 Дек 2022
On the basis of the adminlisten plugin, but I don't want to use it anymore, because it throws a lot of error logs
 
Сообщения
144
Реакции
29
pmadisson75 wrote this in 4mins, maybe this is enough for your needs (you didnt write details)

Код:
#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
    register_plugin( "admin see chat", "1.0", "noname" )
    register_clcmd( "say", "chat" )
    register_clcmd( "say_team", "chat_team" )
}
public chat( id )
{
    new said[ 150 ]
    read_args( said, charsmax( said ) )
    remove_quotes( said )
    if( said[ 0 ] )
        sent_message( id, false, said )
}
public chat_team( id )
{
    new said[ 150 ]
    read_args( said, charsmax( said ) )
    remove_quotes( said )
    if( said[ 0 ] )
        sent_message( id, true, said )
}
sent_message( sent_id, bool: team_say, szText[] )
{
    for( new i = 1; i <= get_maxplayers(); i++ )
    {
        if( !is_user_connected( i ) )
            continue

        if( is_user_admin( i ) )
            client_print( i, print_chat, "%s%n: %s", team_say ? "TEAM - ":"", sent_id, szText )
    }
}
 
Сообщения
237
Реакции
10
jocasrb
I need a plugin that will allow admins to see literally all chat conversations.

For example: when I'm in TT as admin, I can see chats from the opposing team and spec, and messages written to say_team as well.

Plugin - admin sees all chat conversations.
 
Сообщения
144
Реакции
29
jocasrb
I need a plugin that will allow admins to see literally all chat conversations.

For example: when I'm in TT as admin, I can see chats from the opposing team and spec, and messages written to say_team as well.

Plugin - admin sees all chat conversations.
ok test my code, and tell what should be changed ?
PS:put it first in plugins.ini
 
Сообщения
237
Реакции
10
jocasrb
Yes I know. I just added it to the server. I'll let you know.

The plugin is just supposed to make the admin see all chat conversations. That's all.
 
Сообщения
237
Реакции
10
Wrongly shows messages ... In yellow and without prefixes and without info about the team ...
22 Дек 2022
Plugin is very bad. It mirrors/shows even @@ messages in chat
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу