funpackf(tfile, "Bi", &type);
for (int l = 0; l < 10; l++) {
funpackf(tfile, "Bf Bf Bf", &participantlocation[l].x, &participantlocation[l].y, &participantlocation[l].z);
funpackf(tfile, "Bf", &participantyaw[l]);
}
funpackf(tfile, "Bi", &type);
for (int l = 0; l < 10; l++) {
funpackf(tfile, "Bf Bf Bf", &participantlocation[l].x, &participantlocation[l].y, &participantlocation[l].z);
funpackf(tfile, "Bf", &participantyaw[l]);
}