Azzano62... Want this Distance Button in C# ?
                
             )
 )
                            if ((MCI.Info[i].Node >= 0) && (MCI.Info[i].Node < 322))
                            {
                                InSim.Send_BTN_CreateButton("^7The Track", Flags.ButtonStyles.ISB_CLICK, 4, 20, 3, 85, 171, (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID), 2, false);
                                InSim.Send_BTN_CreateButton("^7[COLOR=Red]75 km/h[/COLOR]", Flags.ButtonStyles.ISB_CLICK, 4, 20, 3, 95, 172, (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID), 2, false);
                            }
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using LFS_External;
using LFS_External.InSim;
using System.Threading;
using System.IO;
namespace LFS_External_Client
{
    public partial class Form1 : Form 
    {
        // Main InSim object
        InSimInterface InSim;
        const string UserInfo = @"users";
        const string [COLOR=Red]Website[/COLOR] = "[COLOR=Red]^2720team.co.uk[/COLOR]";
        // Note - do NOT change the settings here. Use the settings.ini file instead!
        string AdminPW = "default";
        ushort Port = 29999;
        string IPAddress = "127.0.0.1";
        System.Timers.Timer PayUser = new System.Timers.Timer(1000);
        System.Timers.Timer CheckUser = new System.Timers.Timer(2000);
        System.Timers.Timer BankTimer = new System.Timers.Timer(1);
        System.Timers.Timer BankCooldown = new System.Timers.Timer(1);
        System.Timers.Timer BackUp = new System.Timers.Timer(300000);
        // These are the main lists that contain all Players and Connections (Being maintained automatically)
        List<clsConnection> Connections = new List<clsConnection>();
        List<clsPlayer> Players = new List<clsPlayer>();









foreach (clsConnection C in Connections)
            {
                     InSim.Send_MST_Message("/msg ^6|^3 " + C.PlayerName + " Pitted");InSim.Send_MST_Message("/msg ^6|^3 " + Connections[GetConnIdx(Players[GetPlyIdx(PLP.PLID)].UniqueID)].PlayerName + " Pitted");