Hello!,
Kay decided to switch from Lfs_External to InSim.NET. Best choice i've ever made Alright let me get to my point :P
Inserted the Contact packet and started to code some shitznee :
Problem is if i hit someone it doesn't actually well work...
Any ideas?
PS : New to InSim.NET don't get shit read the document already over and over again nothing that can actually help me :P Im suprised i can actually get the insim connected :P
Thanks alot!
Yoran
Kay decided to switch from Lfs_External to InSim.NET. Best choice i've ever made Alright let me get to my point :P
Inserted the Contact packet and started to code some shitznee :
static void CarContact(InSim insim, IS_CON con)
{
//Conn1 = con.A.PLID;
//Conn2 = con.B.PLID;
double speed = MathHelper.MpsToKph((con.SpClose & 0x00ff) * 0.1);
if (con.A.Speed > con.B.Speed)
{
insim.Send("/msg " + con.A.PLID + " ^2hit " + con.B.PLID);
}
insim.Send("/msg ^2Contact detected!");
}
Problem is if i hit someone it doesn't actually well work...
Any ideas?
PS : New to InSim.NET don't get shit read the document already over and over again nothing that can actually help me :P Im suprised i can actually get the insim connected :P
Thanks alot!
Yoran