Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- w.GamePos = r3dPoint3D(0, 0, 0);
- r3dOutToLog("Hunz MapID: %i\n", w.GameMapId);
- if (w.GameMapId == 3)//for Cliffside
- sscanf(xmlItem.attribute("GamePos2").value(), "%f %f %f %f", &w.GamePos.x, &w.GamePos.y, &w.GamePos.z, &w.GameDir);
- else if (w.GameMapId == 4)//for ServerTest
- sscanf(xmlItem.attribute("GamePos3").value(), "%f %f %f %f", &w.GamePos.x, &w.GamePos.y, &w.GamePos.z, &w.GameDir);
- else if (w.GameMapId == 5)//HunZ Colorado2
- sscanf(xmlItem.attribute("GamePos4").value(), "%f %f %f %f", &w.GamePos.x, &w.GamePos.y, &w.GamePos.z, &w.GameDir);
- else
- sscanf(xmlItem.attribute("GamePos").value(), "%f %f %f %f", &w.GamePos.x, &w.GamePos.y, &w.GamePos.z, &w.GameDir);
- w.GameFlags = xmlItem.attribute("GameFlags").as_int();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement