The online racing simulator
Car Contact Live For Speed
Hello, I'm working with my inSim and I'm trying to add CON, but I cant... I use LFS Extrenal 1.1.1.7.... I cant add CON_CarContact.. I add it in Form1.cs = errors... Why?
// Car Contact
private void CON_CarContact(Packets.IS_CON CON)
{
try
{

if (Connections[GetConnIdx2(CON.A.PLID)].Cash > 0)
{
MsgAll("^6»^7 Contact detected");



}
}


catch { }
}

Did you set IS_ISI correctly?

define('ISF_CON',64);// bit 6 : receive CON packets

Otherwise you don't get CON packets at all.
Don't use LFS_External. It's outdated and broken library. Use InSim.NET instead.
But if I use InSim.NET i must to make from zero new InSim
Quote from Djem95 :But if I use InSim.NET i must to make from zero new InSim

except LFS External won't get updated, so Insim.Net is your only option.

FGED GREDG RDFGDR GSFDG