Hi sicotange. Sorry for the off topic post but did you get the email I sent you today, about French translation? It's urgent as I will get the final translations for 0.6G tomorrow afternoon (not evening) and that will be it.
var hcp = new IS_HCP();
// Set handicap for XF GTI
hcp.Info[0].H_Mass = 50;
hcp.Info[0].H_TRes = 20;
// Set handicap for XR GT
hcp.Info[1].H_Mass = 20;
hcp.Info[1].H_TRes = 30;
// etc.
// Send packet.
insim.Send(hcp);
hcp.SetHandicap(CarFlags.XFG, T_Mass = 50, H_TRes = 20);
hcp.SetHandicap(CarFlags.XFG | CarFlags.XRG, T_Mass = 50, H_TRes = 20);
var hpc = new IS_HPC();
HandicapHelper.SetHandicap(hpc, CarFlags.XFG | CarFlags.XRG, T_Mass = 50, H_TRes = 20);
insim.Send(hpc);
var hcp = new IS_HCP();
// Set handicap for XF GTI
hcp.Info[0].H_Mass = 50;
hcp.Info[0].H_TRes = 20;
// Set handicap for XR GT
hcp.Info[1].H_Mass = 20;
hcp.Info[1].H_TRes = 30;
// etc.
// Send packet.
insim.Send(hcp);
// Create packet.
var hcp = new IS_HCP();
// Set handicaps for specified cars.
HandicapHelper.SetHandicap(hpc, CarFlags.XFG | CarFlags.XRG, H_Mass: 50, H_TRes: 20);
// Send packet to LFS.
insim.Send(hcp);
HandicapHelper.SetHandicap(hpc, CarFlags.All, H_Mass: 50, H_TRes: 20);