Can someone give me a hand please?
I need a code that when a user goes through node 53 on the Blackwood track, he sends it directly to the pits.
and also to show the reaction time of a user when leaving when the traffic light turns green.
This is a part of the traffic light code and the green light...
<?php
else if (LuzSpeed == 2)
{
if (C.Counter == 15)
{
C.Counter = 0;
if (C.DragStage == 2)
{
C.DragStage = 3;
InSim.Send_BTN_CreateButton("^3•", Flags.ButtonStyles.ISB_C1, 21, 21, 93, 174, 19, C.UniqueID, 2, false); //LUZ1-IZQUIERDA - GRANDE
InSim.Send_BTN_CreateButton("^3•", Flags.ButtonStyles.ISB_C1, 21, 21, 93, 185, 20, C.UniqueID, 2, false); //LUZ1-DERECHA - GRANDE
}
else if (C.DragStage == 3)
{
C.DragStage = 4;
InSim.Send_BTN_CreateButton("^3•", Flags.ButtonStyles.ISB_C1, 21, 21, 103, 174, 21, C.UniqueID, 2, false); //LUZ2-IZQUIERDA - GRANDE
InSim.Send_BTN_CreateButton("^3•", Flags.ButtonStyles.ISB_C1, 21, 21, 103, 185, 22, C.UniqueID, 2, false); //LUZ2-DERECHA - GRANDE
}
else if (C.DragStage == 4)
{
C.DragStage = 5;
InSim.Send_BTN_CreateButton("^3•", Flags.ButtonStyles.ISB_C1, 21, 21, 113, 174, 23, C.UniqueID, 2, false); //LUZ3-IZQUIERDA - GRANDE
InSim.Send_BTN_CreateButton("^3•", Flags.ButtonStyles.ISB_C1, 21, 21, 113, 185, 24, C.UniqueID, 2, false); //LUZ3-DERECHA - GRANDE
}
else if (C.DragStage == 5)
{
C.DragStage = 6;
InSim.Send_BTN_CreateButton("^2•", Flags.ButtonStyles.ISB_C1, 21, 21, 123, 174, 25, C.UniqueID, 2, false); //LUZ4-IZQUIERDA - GRANDE
InSim.Send_BTN_CreateButton("^2•", Flags.ButtonStyles.ISB_C1, 21, 21, 123, 185, 26, C.UniqueID, 2, false); //LUZ4-DERECHA - GRANDE
}
else if (C.DragStage == 6)
{
?>
If someone could make me a code with those functions, I'd really appreciate it since I'm learning how to use Insim.Net