i had MCO that didont worked and now i have NPL also dont works can some one tell me wat im doing wrong would help alot thanx Quote : // Pit EXIT if (((MCI.Info[i].X / 196608) <= -203) && ((MCI.Info[i].Y / 196608) >= -65) && ((MCI.Info[i].Y / 196608) <= -45) && (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone == 0)) { if (((MCI.Info[i].Direction / 180) < 80) || ((MCI.Info[i].Direction / 180) > 280)) { Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone = 1; InSim.Send_MST_Message("/msg ^6>^7 " + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].PlayerName + " ^1was fined £200 for wrong way out of pits"); Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Cash -= 200; InSim.Send_MST_Message("/spec " + Connections[GetConnIdx(NPL.UCID)].Username); InSim.Send_MST_Message("/msg ^6>^7 " + Connections[GetConnIdx(NPL.UCID)].PlayerName + "^7spectated wrong way pits " + NPL.CName); } } if (((MCI.Info[i].Y / 196608) < -65) || ((MCI.Info[i].Y / 196608) > -45)) { Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone = 0; } // Pit ENTRY if (((MCI.Info[i].X / 196608) <= -203) && ((MCI.Info[i].Y / 196608) >= -158) && ((MCI.Info[i].Y / 196608) <= -145) && (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 == 0)) { if (((MCI.Info[i].Direction / 180) < 80) || ((MCI.Info[i].Direction / 180) > 280)) { Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 = 1; InSim.Send_MST_Message("/msg ^6>^7 " + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].PlayerName + " ^1was fined £200 for wrong way in pits"); Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Cash -= 200; InSim.Send_MST_Message("/spec " + Connections[GetConnIdx(NPL.UCID)].Username); InSim.Send_MST_Message("/msg ^6>^7 " + Connections[GetConnIdx(NPL.UCID)].PlayerName + "^7spectated wrong way pits " + NPL.CName); } } if (((MCI.Info[i].Y / 196608) < -158) || ((MCI.Info[i].Y / 196608) > -145)) { Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 = 0; }
i also tried Quote : InSim.Send_MST_Message("/msg ^6> ^7" + C.PlayerName + "^7 was spectated for speeding!");