Иконка ресурса

FREE AlreadyConnectedFix : 1.0.0 1.0.0

Нет прав для скачивания
C#:
using System.Linq;
using Network;

namespace Oxide.Plugins 
{
    [Info("AlreadyConnectedFix", "EcoSmile", "1.0.0")]
    class AlreadyConnectedFix : RustPlugin
    {
        void OnClientAuth(Connection connection)
        {
            NextTick(() =>
            {
                if (BasePlayer.FindByID(connection.userid) != null)
                    BasePlayer.FindByID(connection.userid).OnDisconnected();
                if (ConnectionAuth.m_AuthConnection.Any((Connection item) => item.userid == connection.userid))
                    ConnectionAuth.m_AuthConnection.Remove(connection);
            });
        }
    }
}

Автор
15FPS
Скачиваний
0
Просмотры
1
Первый выпуск
Обновление
Оценка
0.00 звёзд 0 оценок

Другие ресурсы пользователя 15FPS

Сверху