Hello i have this code
..well, the code works but no how i want. When i go to wrong exit insim send messages 3 times
"plyerName" was fined $800 for wrong exit
!!! Next time you will be kicked !!!
"plyerName" was fined $800 for wrong exit
!!! Next time you will be kicked !!!
"plyerName" was fined $800 for wrong exit
!!! Next time you will be kicked !!!
I will be happy if someone want to help me
EDIT: insim send messages 3 times becuse on server is 2 conn + host
                
            
                         foreach(clsConn Conn in Connections)
                         {
                            // Pit EXIT
                            if (pathx >= -27 && pathx <= -24 && pathy >= 65 && pathy <= 67)
                            {
                                if (Conn.ExitZone == 0)
                                {
                                    if (direction > 330 || direction < 20)
                                    {
                                        MessageToAll(_players[car.PLID].PName + " was fined ^1€500 ^7for wrong exit");
                                        Conn.Cash -= 500;
                                        Conn.ExitZone = 1;
                                    }
                                    if (Conn.ExitZone == 1)
                                    {
                                        MessageToUCID(_players[car.PLID].UCID, " ^1!!!   Next time you will be kicked   ^1!!!");
                                    }
                                }
                                else // (Conn.ExitZone == 2)
                                {
                                    SpecID(_players[car.PLID].PName);
                                }
                            }
                            else
                            {
                                if (Conn.ExitZone == 1)
                                {
                                    Conn.ExitZone = 0;
                                }
                            }
                         }
..well, the code works but no how i want. When i go to wrong exit insim send messages 3 times
"plyerName" was fined $800 for wrong exit
!!! Next time you will be kicked !!!
"plyerName" was fined $800 for wrong exit
!!! Next time you will be kicked !!!
"plyerName" was fined $800 for wrong exit
!!! Next time you will be kicked !!!
I will be happy if someone want to help me

EDIT: insim send messages 3 times becuse on server is 2 conn + host
