Ok, this is what I have done:
It works good but it shows the information for all players, I want to show only the information of the player who write it.
Thank you
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;
It works good but it shows the information for all players, I want to show only the information of the player who write it.
Thank you