case "!carinfo":
if (StrMsg.Length == 1)
{
foreach (clsPlayer Player in Players)
{
if (Player.UniqueID == MSO.UCID)
InSim.Send_MTC_MessageToConnection("^6> ^7Car info of " + Player.PlayerName + ":", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^6> ^7Skin Name: " + Player.SkinName + ".jpg", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^6> ^7Car: " + Player.CarName + "", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^6> ^7Plate: " + Player.Plate + "", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^6> ^7Passengers: " + Player.Passengers + "", MSO.UCID, 0);
}
}
break;
case "!carinfo":
if (StrMsg.Length == 1)
{
foreach (clsPlayer Player in Players)
{
InSim.Send_MTC_MessageToConnection([COLOR=Black]"^6> ^7Car info of " + Player.PlayerName + ":"[/COLOR], MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^6> ^7Skin Name: " + Player.SkinName + ".jpg", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^6> ^7Car: " + Player.CarName + "", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^6> ^7Plate: " + Player.Plate + "", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^6> ^7Passengers: " + Player.Passengers + "", MSO.UCID, 0);
}
}
break;
[COLOR=YellowGreen]// Detailed car information packet (max 8 per packet)[/COLOR]
private void MCI_CarInformation(Packets.IS_MCI MCI)
{
try
InSim.MCI_Received += new LFS_External.InSim.InSimInterface.MCI_EventHandler(MCI_CarInformation); [COLOR=YellowGreen]// Detailed car information packet (max 8 per packet)[/COLOR]