RakClient.cpp в самий низ
void RakClient::SendFakeDriverSyncData(USHORT VehicleID, float fPos[3], float HealthCar, float Speed[3], WORD key)
{
stInCarData picSync;
memset(&picSync, 0, sizeof(stInCarData));
BitStream bsVehicleSync;
picSync.sVehicleID = VehicleID;
picSync.fPosition[0] = fPos[0];
picSync.fPosition[1] = fPos[1];
picSync.fPosition[2] = fPos[2];
picSync.fVehicleHealth = HealthCar;
picSync.fMoveSpeed[0] = Speed[0];
picSync.fMoveSpeed[1] = Speed[1];
picSync.fMoveSpeed[2] = Speed[2];
picSync.sKeys = key;
bsVehicleSync.Write((BYTE)ID_VEHICLE_SYNC);
bsVehicleSync.Write((PCHAR)&picSync,sizeof(stInCarData));
g_RakClient->Send(&bsVehicleSync, HIGH_PRIORITY, UNRELIABLE_SEQUENCED, 0);
}
RakClient.h
void SendFakeDriverSyncData(USHORT VehicleID, float fPos[3], float HealthCar, float Speed[3], WORD key = 0);