Hi guys. Im an newbie at Programming. I tryed do to an userfile for my Cruise insim. But it dont work. I also need a Givemoney button oder command only for admin. Please help, Greetz
                
            

 Thats the correct answer :P Thank you very much. Nice Community 
case "!pitlane":
                    InSim.Send_MST_Message("/pitlane" + Connections[GetConnIdx(MSO.UCID)].PlayerName + "was serviced", MSO.UCID, 0);
                    break; 
case "!pitlane":
        InSim.Send_MST_Message("/pitlane " + Connections[GetConnIdx(MSO.UCID)].Username);
        break;

 probably not an analogue clock but a digital clock would be ok, im sure there is a tag in C# to get the time from the computer the insimo is on, dont know if it is posible to get the time of the people who are connected though :s unless you gave them a setup menu which allowed them to choose GMT +1 or something
[SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] CheckUser_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]{[/SIZE]
[SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][SIZE=2] Time = [/SIZE][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][SIZE=2].ToString(System.[/SIZE][SIZE=2][COLOR=#2b91af]DateTime[/COLOR][/SIZE][SIZE=2].Now.TimeOfDay.Hours).PadLeft(2, [/SIZE][SIZE=2][COLOR=#a31515]'0'[/COLOR][/SIZE][SIZE=2]) + [/SIZE][SIZE=2][COLOR=#a31515]":"[/COLOR][/SIZE][SIZE=2] + [/SIZE][SIZE=2][COLOR=#2b91af]Convert[/COLOR][/SIZE][SIZE=2].ToString(System.[/SIZE][SIZE=2][COLOR=#2b91af]DateTime[/COLOR][/SIZE][SIZE=2].Now.TimeOfDay.Minutes).PadLeft(2, [/SIZE][SIZE=2][COLOR=#a31515]'0'[/COLOR][/SIZE][SIZE=2]);[/SIZE]
[SIZE=2]InSim.Send_BTN_CreateButton([/SIZE][SIZE=2][COLOR=#a31515]"^7"[/COLOR][/SIZE][SIZE=2] + Time, [/SIZE][SIZE=2][COLOR=#2b91af]Flags[/COLOR][/SIZE][SIZE=2].[/SIZE][SIZE=2][COLOR=#2b91af]ButtonStyles[/COLOR][/SIZE][SIZE=2].ISB_DARK, 5, 15, 6, 90, 6, C.UniqueID, 2, [/SIZE][SIZE=2][COLOR=#0000ff]false[/COLOR][/SIZE][SIZE=2]);[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]}[/SIZE]

