Here is my code from MCI packet
Example with username auto-clearing PIT Penalty @ PLA Packet
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].PlayerName
Example with username auto-clearing PIT Penalty @ PLA Packet
private void PLA_PitLaneChanged(Packets.IS_PLA PLA)
{
if (PLA.Fact == 0)
{
InSim.Send_MST_Message("/p_clear " + Connections[GetConnIdx(Players[GetPlyIdx(PLA.PLID)].UniqueID)].Username);
}
}