[COLOR=#0000ff][B]if[/B][/COLOR] (Conn.CompCar.X / [COLOR=#00008b]196608[/COLOR] >= -[COLOR=#00008b]227[/COLOR] && Conn.CompCar.X / [COLOR=#00008b]196608[/COLOR] <= -[COLOR=#00008b]262[/COLOR] && Conn.CompCar.Y / [COLOR=#00008b]196608[/COLOR] >= [COLOR=#00008b]283[/COLOR] && Conn.CompCar.Y / [COLOR=#00008b]196608[/COLOR] <= [COLOR=#00008b]305[/COLOR] || Conn.CompCar.X / [COLOR=#00008b]196608[/COLOR] >= -[COLOR=#00008b]233[/COLOR] && Conn.CompCar.X / [COLOR=#00008b]196608[/COLOR] <= -[COLOR=#00008b]215[/COLOR] && Conn.CompCar.Y / [COLOR=#00008b]196608[/COLOR] >= [COLOR=#00008b]285[/COLOR] && Conn.CompCar.Y / [COLOR=#00008b]196608[/COLOR] <= [COLOR=#00008b]303[/COLOR])
{ InSim.[COLOR=#191970][B]Send_BTN_CreateButton[/B][/COLOR]([COLOR=#0000ff]"^H^1^JЃҐ"[/COLOR], Flags.ButtonStyles.ISB_C2, [COLOR=#00008b]100[/COLOR], [COLOR=#00008b]100[/COLOR], [COLOR=#00008b]5[/COLOR], [COLOR=#00008b]0[/COLOR], [COLOR=#00008b]50[/COLOR], Conn.UniqueID, [COLOR=#00008b]2[/COLOR], [COLOR=#008b8b][B]false[/B][/COLOR]);
InSim.[COLOR=#191970][B]Send_BTN_CreateButton[/B][/COLOR]([COLOR=#0000ff]"^H^7^JЃҐ"[/COLOR], Flags.ButtonStyles.ISB_C2, [COLOR=#00008b]70[/COLOR], [COLOR=#00008b]70[/COLOR], [COLOR=#00008b]19[/COLOR], [COLOR=#00008b]15[/COLOR], [COLOR=#00008b]51[/COLOR], Conn.UniqueID, [COLOR=#00008b]2[/COLOR], [COLOR=#008b8b][B]false[/B][/COLOR]);
}
[COLOR=#0000ff][B]if[/B][/COLOR] (Conn.CompCar.Node > [COLOR=#00008b]242[/COLOR] && Conn.CompCar.Node < [COLOR=#00008b]270[/COLOR])
[COLOR=#008000]
[/COLOR][COLOR=#ff0000][B]int[/B][/COLOR] KinderDist = (([COLOR=#ff0000][B]int[/B][/COLOR])Math.[COLOR=#191970][B]Sqrt[/B][/COLOR](Math.[COLOR=#191970][B]Pow[/B][/COLOR](Conn.CompCar.X - (-[COLOR=#00008b]125[/COLOR] * [COLOR=#00008b]196608[/COLOR]), [COLOR=#00008b]2[/COLOR]) + Math.[COLOR=#191970][B]Pow[/B][/COLOR](Conn.CompCar.Y - ([COLOR=#00008b]322[/COLOR] * [COLOR=#00008b]196608[/COLOR]), [COLOR=#00008b]2[/COLOR])) / [COLOR=#00008b]65536[/COLOR]);
[COLOR=#ff0000][B][/B][/COLOR]
[COLOR=#0000ff][B]if[/B][/COLOR] (NPL.CName == [COLOR=#0000ff]"XRG"[/COLOR] && Connections[[COLOR=#191970][B]GetConnIdx[/B][/COLOR](NPL.UCID)].TotalDistance / [COLOR=#00008b]1000[/COLOR] <= [COLOR=#00008b]199[/COLOR])
{
InSim.[COLOR=#191970][B]Send_MST_Message[/B][/COLOR]([COLOR=#0000ff]"/spec "[/COLOR] + Connections[[COLOR=#191970][B]GetConnIdx[/B][/COLOR](NPL.UCID)].Username);
[COLOR=#0000ff][B]if[/B][/COLOR] (Connections[[COLOR=#191970][B]GetConnIdx[/B][/COLOR](NPL.UCID)].MilesOrKilometers == [COLOR=#00008b]0[/COLOR])
{
InSim.[COLOR=#191970][B]Send_MTC_MessageToConnection[/B][/COLOR]([COLOR=#0000ff]"^6»^7 You need ^1200km ^7to drive a ^1"[/COLOR] + NPL.CName, NPL.UCID, [COLOR=#00008b]0[/COLOR]);
}
TotalDistance / [COLOR=#00008b]1000[/COLOR] <= [COLOR=#00008b]199[/COLOR])