Hi! I want how to enable IS_PEN method, I have the code for DT, but dont run, I spoke with Dougie-Lampkin and say I need enable that.
//LFS_External.InSim.Events.PEN_Received += new LFS_External.InSim.Events.PEN_EventHandler(PEN);
case "!herethecommand":
InSim.Send_MST_Message("here the text");
break;
case "!herethecommand":
InSim.Send_MTC_MessageToConnection("here the text", MSO.UCID, 0);
break;
cfg = new ConnectionSettings("127.0.0.1", 29999, 0, Flags.InSimFlags.ISF_MCI, '!', 1000, "password", "^3LFS External");
/admin=herethepassword
[SIZE=2]System.Timers.[/SIZE][SIZE=2][COLOR=#2b91af]Timer[/COLOR][/SIZE][SIZE=2] BackUp = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Timers.[/SIZE][SIZE=2][COLOR=#2b91af]Timer[/COLOR][/SIZE][SIZE=2](300000);[/SIZE]
[SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] BackUp_Elapsed([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, System.Timers.[/SIZE][SIZE=2][COLOR=#2b91af]ElapsedEventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2][COLOR=#0000ff] foreach[/COLOR][/SIZE][SIZE=2] ([/SIZE][SIZE=2][COLOR=#2b91af]clsConnection[/COLOR][/SIZE][SIZE=2] C [/SIZE][SIZE=2][COLOR=#0000ff]in[/COLOR][/SIZE][SIZE=2] Connections)[/SIZE]
[SIZE=2][COLOR=#2b91af] FileInfo[/COLOR][/SIZE][SIZE=2].UpdateUserLeave(C.Username, C.Cash, C.Cars);[/SIZE]
[SIZE=2]}[/SIZE]
// Form load
private void Form1_Load(object sender, EventArgs e)
{
[SIZE=2]BackUp.Enabled = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];[/SIZE]
[SIZE=2]BackUp.Elapsed += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Timers.[/SIZE][SIZE=2][COLOR=#2b91af]ElapsedEventHandler[/COLOR][/SIZE][SIZE=2](BackUp_Elapsed);[/SIZE]
try
{
// Connect to InSim
// Insim connection stuff here