The online racing simulator
LFS_EXTERNAL - IS_CON - Problemo!
Hi!

Been searching round' the forum and noticed that i cant get IS_CON to work with Playernames/Usernames Code i have right now :

private void CON_CarContact(Packets.IS_CON CON)
{
try
{

clsConnection CrashID1 = Connections[GetConnIdx2(CON.A.PLID)];
clsConnection CrashID2 = Connections[GetConnIdx2(CON.B.PLID)];

MsgAll("^2Collision Detected!");


MsgAll("^2Collision: " + Connections[GetConnIdx2(CON.A.PLID)] + " ^2hit " + Connections[GetConnIdx2(CON.B.PLID)] + " ^2 And killed him and raped him");

}
catch { }

}

If i hit somebody it does say collision Detected. But it doesn't show this :

MsgAll("^2Collision: " + Connections[GetConnIdx2(CON.A.PLID)] + " ^2hit " + Connections[GetConnIdx2(CON.B.PLID)] + " ^2 And killed him and raped him");

Any help?

Thanks
Nevermind, CrashID1.Playername or CrashID1.Username
Sometimes requesting playername doesn't show .. if not try with username


MsgAll("^2Collision: " + Connections[GetConnIdx2(CON.A.PLID)] + " ^2hit " + Connections[GetConnIdx2(CON.B.PLID)] + " ^2 And killed him and raped him");

Replace this with

MsgAll("^2Collision: " + CrashID1.PlayerName + " ^2hit " + CrashID2.PlayerName + " ^2 And killed him and raped him");

I think its too long and it wont show the whole thing , considering removing the stuff after crashid2 , or switch to usernames instead of playernames
Hmm never tried your method before will get into it right now Thanks!

FGED GREDG RDFGDR GSFDG