The online racing simulator
Need help with re-newing the compcar packet (insim.net)
Heya fellow programmers! , just wondering if anyone could shed some light on insim.net's CompCar class, i have been trying to setup the player takes over car packet, and its working fine, just when it comes down to the other player taking the car, the compcar class doesn't re-new and stats count on the old players side rather then the new players side, ive tried Compcar = new Compcar(); and playerid = 0 ect but they dont work when renewing the compcar class it says it has no constructors defiend, is anyone able to explain to me how this would work with insim.net.

thanks
_players[TOC.PLID].UCID = TOC.NewUCID;
_players[TOC.PLID].PName = _connections[TOC.NewUCID].PName;

This is the code i use for Take Over Control packet.
My friend T3charmy helped me resolve the problem , thank you for replying anyway

FGED GREDG RDFGDR GSFDG